Share via


XamlBindingHelper.SetDataTemplateComponent Method

Definition

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

public:
 static void SetDataTemplateComponent(DependencyObject ^ element, IDataTemplateComponent ^ value);
 static void SetDataTemplateComponent(DependencyObject const& element, IDataTemplateComponent const& value);
public static void SetDataTemplateComponent(DependencyObject element, IDataTemplateComponent value);
function setDataTemplateComponent(element, value)
Public Shared Sub SetDataTemplateComponent (element As DependencyObject, value As IDataTemplateComponent)

Parameters

element
DependencyObject

The object to which the property value is written.

value
IDataTemplateComponent

The value to set.

Remarks

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

Applies to

See also