Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DataTemplate.GetExtensionInstance(FrameworkElement) Method

Definition

Namespace:
Microsoft.UI.Xaml

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?