IDataTemplateExtension IDataTemplateExtension IDataTemplateExtension IDataTemplateExtension Interface


Defines helper methods for phased rendering of a data template.

public : interface IDataTemplateExtension
struct winrt::Windows::UI::Xaml::IDataTemplateExtension
public interface IDataTemplateExtension
Public Interface IDataTemplateExtension
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


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)
bool ProcessBinding(uint32_t phase) const;
public bool ProcessBinding(UInt32 phase)
Public Function ProcessBinding(phase As UInt32) As bool
UInt32 UInt32

Gets the number of times the method has been called.

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)
int32_t ProcessBindings(ContainerContentChangingEventArgs arg) const;
public int ProcessBindings(ContainerContentChangingEventArgs arg)
Public Function ProcessBindings(arg As ContainerContentChangingEventArgs) As int
ContainerContentChangingEventArgs ContainerContentChangingEventArgs

Information about the item, item index, and rendering phase.

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()
void ResetTemplate() const;
public void ResetTemplate()
Public Function ResetTemplate() As void