DataTemplateSelector.SelectTemplate DataTemplateSelector.SelectTemplate DataTemplateSelector.SelectTemplate DataTemplateSelector.SelectTemplate Method

Definition

Overloads

SelectTemplate(Object) SelectTemplate(Object) SelectTemplate(Object) SelectTemplate(Object)

Returns a specific DataTemplate for a given item.

SelectTemplate(Object, DependencyObject) SelectTemplate(Object, DependencyObject) SelectTemplate(Object, DependencyObject) SelectTemplate(Object, DependencyObject)

Returns a specific DataTemplate for a given item and container.

SelectTemplate(Object) SelectTemplate(Object) SelectTemplate(Object) SelectTemplate(Object)

Returns a specific DataTemplate for a given item.

public : DataTemplate SelectTemplate(Platform::Object item)
DataTemplate SelectTemplate(winrt::Windows::Foundation::IInspectable item) const;
public DataTemplate SelectTemplate(Object item)
Public Function SelectTemplate(item As Object) As DataTemplate

Parameters

item
Object Object

The item to return a template for.

Returns

The template to use for the given item and/or container.

See also

SelectTemplate(Object, DependencyObject) SelectTemplate(Object, DependencyObject) SelectTemplate(Object, DependencyObject) SelectTemplate(Object, DependencyObject)

Returns a specific DataTemplate for a given item and container.

public : DataTemplate SelectTemplate(Platform::Object item, DependencyObject container)
DataTemplate SelectTemplate(winrt::Windows::Foundation::IInspectable item, DependencyObject container) const;
public DataTemplate SelectTemplate(Object item, DependencyObject container)
Public Function SelectTemplate(item As Object, container As DependencyObject) As DataTemplate

Parameters

item
Object Object

The item to return a template for.

container
DependencyObject DependencyObject

The parent container for the templated item.

Returns

The template to use for the given item and/or container.

See also