Click or drag to resize

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
)

Parameters

item
Type: SystemObject
The item.

Return Value

Type: Object
The item or the factory generated item.
See Also