IDataTemplateComponent IDataTemplateComponent IDataTemplateComponent IDataTemplateComponent Interface

Definition

Provides methods that enable the XAML parser to communicate with generated binding code.

public : interface IDataTemplateComponentpublic interface IDataTemplateComponentPublic Interface IDataTemplateComponent// This API is not available in Javascript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

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

Methods

ProcessBindings(Object, Int32, Int32, Int32) ProcessBindings(Object, Int32, Int32, Int32) ProcessBindings(Object, Int32, Int32, Int32) ProcessBindings(Object, Int32, Int32, Int32)

Updates the compiled data bindings.

public : void ProcessBindings(PlatForm::Object item, int itemIndex, int phase, int nextPhase)public void ProcessBindings(Object item, Int32 itemIndex, Int32 phase, Int32 nextPhase)Public Function ProcessBindings(item As Object, itemIndex As Int32, phase As Int32, nextPhase As Int32) As void// This API is not available in Javascript.
Parameters
item
PlatForm::Object Object Object Object

The data item.

itemIndex
int Int32 Int32 Int32

The index of the data item.

phase
int Int32 Int32 Int32

The number of times ProcessBindings has been called.

nextPhase
int Int32 Int32 Int32

The phase on the next call to ProcessBindings.

Remarks

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

Recycle() Recycle() Recycle() Recycle()

Disassociates item containers from their data items and saves the containers so they can be reused later for other data items.

public : void Recycle()public void Recycle()Public Function Recycle() As void// This API is not available in Javascript.

Remarks

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