共用方式為


TemplateExtensions Class

Definition

Extension class for DataTemplate, providing a string-based shortcut method for defining a Binding.

public ref class TemplateExtensions abstract sealed
public static class TemplateExtensions
type TemplateExtensions = class
Public Module TemplateExtensions
Inheritance
TemplateExtensions

Methods

SetBinding(DataTemplate, BindableProperty, String)

Binds the self object's targetProperty to a new Binding instance that was created with path.

Applies to