| 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.CompositionAssembly: TomsToolbox.Wpf.Composition (in TomsToolbox.Wpf.Composition.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax protected Object? GetTarget(
Object? item
)
Protected Function GetTarget (
item As Object
) As Object
Parameters
- item Object
- The item.
Return Value
ObjectThe item or the factory generated item.
See Also