DataTemplate.SetExtensionInstance(FrameworkElement, IDataTemplateExtension) DataTemplate.SetExtensionInstance(FrameworkElement, IDataTemplateExtension) DataTemplate.SetExtensionInstance(FrameworkElement, IDataTemplateExtension) DataTemplate.SetExtensionInstance(FrameworkElement, IDataTemplateExtension) Method

Definition

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 element, IDataTemplateExtension value) const;
public static void SetExtensionInstance(FrameworkElement element, IDataTemplateExtension value)
Public Shared Sub SetExtensionInstance(element As FrameworkElement, value As IDataTemplateExtension)

Parameters

element
FrameworkElement FrameworkElement

The object to which the property value is written.

See also