DataTemplate.GetExtensionInstance(FrameworkElement) Method

Definition

Gets the value of the DataTemplate.ExtensionInstance XAML attached property for the target element.

public:
 static IDataTemplateExtension ^ GetExtensionInstance(FrameworkElement ^ element);
 static IDataTemplateExtension GetExtensionInstance(FrameworkElement const& element);
public static IDataTemplateExtension GetExtensionInstance(FrameworkElement element);
function getExtensionInstance(element)
Public Shared Function GetExtensionInstance (element As FrameworkElement) As IDataTemplateExtension

Parameters

element
FrameworkElement

The object from which the property value is read.

Returns

The DataTemplate.ExtensionInstance XAML attached property value of the specified object.

Applies to

See also