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) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
protected Object? GetTarget(
	Object? item
)

Parameters

item  Object
The item.

Return Value

Object
The item or the factory generated item.
See Also