XamlBindingHelper.SetDataTemplateComponent Method
Definition
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 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.