Class
LayoutConfiguratorTemplateSelector

Template selector that is used to provide the DataTemplate based on the LayoutType of the model.

Definition

Namespace:Telerik.Windows.Controls.FileDialogs

Assembly:Telerik.Windows.Controls.FileDialogs.dll

Syntax:

cs-api-definition
public class LayoutConfiguratorTemplateSelector : DataTemplateSelector

Inheritance: objectLayoutConfiguratorTemplateSelector

Constructors

LayoutConfiguratorTemplateSelector()

Declaration

cs-api-definition
public LayoutConfiguratorTemplateSelector()

Properties

DetailsDataTemplate

Gets or sets the DataTemplate for item with LayoutType.Details.

Declaration

cs-api-definition
public DataTemplate DetailsDataTemplate { get; set; }

Property Value

DataTemplate

ExtraLargeIconsDataTemplate

Gets or sets the DataTemplate for item with LayoutType.ExtraLargeIcons.

Declaration

cs-api-definition
public DataTemplate ExtraLargeIconsDataTemplate { get; set; }

Property Value

DataTemplate

LargeIconsDataTemplate

Gets or sets the DataTemplate for item with LayoutType.LargeIcons.

Declaration

cs-api-definition
public DataTemplate LargeIconsDataTemplate { get; set; }

Property Value

DataTemplate

ListDataTemplate

Gets or sets the DataTemplate for item with LayoutType.List.

Declaration

cs-api-definition
public DataTemplate ListDataTemplate { get; set; }

Property Value

DataTemplate

MediumIconsDataTemplate

Gets or sets the DataTemplate for item with LayoutType.MediumIcons.

Declaration

cs-api-definition
public DataTemplate MediumIconsDataTemplate { get; set; }

Property Value

DataTemplate

SmallIconsDataTemplate

Gets or sets the DataTemplate for item with LayoutType.SmallIcons.

Declaration

cs-api-definition
public DataTemplate SmallIconsDataTemplate { get; set; }

Property Value

DataTemplate

TilesDataTemplate

Gets or sets the DataTemplate for item with LayoutType.Tiles.

Declaration

cs-api-definition
public DataTemplate TilesDataTemplate { get; set; }

Property Value

DataTemplate

Methods

SelectTemplate(object, DependencyObject)

Returns the appropriate DataTemplate for LayoutConfigurationModel item depending on its LayoutType.

Declaration

cs-api-definition
public override DataTemplate SelectTemplate(object item, DependencyObject container)

Parameters

item

object

container

DependencyObject

Returns

DataTemplate

The chosen DataTemplate.