| VisualCompositionBehaviorTGetTarget Method |
Gets the target object for the item.
If the item implements
IComposablePartFactory, the element returned by the factory is returned;
otherwise the item itself is returned.
Namespace:
TomsToolbox.Wpf.Composition
Assembly:
TomsToolbox.Wpf.Composition (in TomsToolbox.Wpf.Composition.dll)
Syntax protected Object? GetTarget(
Object? item
)
Protected Function GetTarget (
item As Object
) As Object
Parameters
- item
- Type: SystemObject
The item.
Return Value
Type:
ObjectThe item or the factory generated item.
See Also