Share via


XamlBindingHelper.GetDataTemplateComponent(DependencyObject) Method

Definition

Gets the value of the DataTemplateComponent XAML attached property for a target element.

public:
 static IDataTemplateComponent ^ GetDataTemplateComponent(DependencyObject ^ element);
 static IDataTemplateComponent GetDataTemplateComponent(DependencyObject const& element);
public static IDataTemplateComponent GetDataTemplateComponent(DependencyObject element);
function getDataTemplateComponent(element)
Public Shared Function GetDataTemplateComponent (element As DependencyObject) As IDataTemplateComponent

Parameters

element
DependencyObject

The object from which the property value is read.

Returns

The DataTemplateComponent XAML attached property value of the specified object.

Remarks

This method is for use in code that is generated by the XAML compiler.

Applies to

See also