IDataTemplateExtension IDataTemplateExtension IDataTemplateExtension IDataTemplateExtension Interface

Definition

Defines helper methods for phased rendering of a data template.

public : interface IDataTemplateExtension
public interface IDataTemplateExtension
Public Interface IDataTemplateExtension
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Methods

ProcessBinding(UInt32) ProcessBinding(UInt32) ProcessBinding(UInt32) ProcessBinding(UInt32)

Provides phased rendering of bound data in a data template.

public : Platform::Boolean ProcessBinding(unsigned int phase)
public bool ProcessBinding(UInt32 phase)
Public Function ProcessBinding(phase As UInt32) As bool
var bool = iDataTemplateExtension.processBinding(phase);
Parameters
phase
unsigned int UInt32 UInt32 UInt32

Gets the number of times the method has been called.

Returns
Platform::Boolean bool bool bool

true if there are more phases to be processed; otherwise, false.

ProcessBindings(ContainerContentChangingEventArgs) ProcessBindings(ContainerContentChangingEventArgs) ProcessBindings(ContainerContentChangingEventArgs) ProcessBindings(ContainerContentChangingEventArgs)

Updates a list item container element with bound data.

public : int ProcessBindings(ContainerContentChangingEventArgs arg)
public int ProcessBindings(ContainerContentChangingEventArgs arg)
Public Function ProcessBindings(arg As ContainerContentChangingEventArgs) As int
var int = iDataTemplateExtension.processBindings(arg);
Parameters
Returns
int int int int

The phase at which the next call to ProcessBindings will occur. A value of -1 indicates that no further callbacks are requested.

ResetTemplate() ResetTemplate() ResetTemplate() ResetTemplate()

Disconnects any event listeners so the data template can be recycled.

public : void ResetTemplate()
public void ResetTemplate()
Public Function ResetTemplate() As void
iDataTemplateExtension.resetTemplate();