Note

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

Access to this page requires authorization. You can try .

DataTemplate.SetExtensionInstance 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.

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

public:
 static void SetExtensionInstance(FrameworkElement ^ element, IDataTemplateExtension ^ value);
 static void SetExtensionInstance(FrameworkElement const& element, IDataTemplateExtension const& value);
public static void SetExtensionInstance(FrameworkElement element, IDataTemplateExtension value);
function setExtensionInstance(element, value)
Public Shared Sub SetExtensionInstance (element As FrameworkElement, value As IDataTemplateExtension)

Parameters

element
FrameworkElement

The object to which the property value is written.

value
IDataTemplateExtension

The value to set.

Applies to

See also


Feedback

Was this page helpful?