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:
public class LayoutConfiguratorTemplateSelector : DataTemplateSelector
Inheritance: objectLayoutConfiguratorTemplateSelector
Constructors
public LayoutConfiguratorTemplateSelector()
Properties
DetailsDataTemplate
DataTemplate
Gets or sets the DataTemplate for item with LayoutType.Details.
public DataTemplate DetailsDataTemplate { get; set; }
ExtraLargeIconsDataTemplate
DataTemplate
Gets or sets the DataTemplate for item with LayoutType.ExtraLargeIcons.
public DataTemplate ExtraLargeIconsDataTemplate { get; set; }
LargeIconsDataTemplate
DataTemplate
Gets or sets the DataTemplate for item with LayoutType.LargeIcons.
public DataTemplate LargeIconsDataTemplate { get; set; }
ListDataTemplate
DataTemplate
Gets or sets the DataTemplate for item with LayoutType.List.
public DataTemplate ListDataTemplate { get; set; }
MediumIconsDataTemplate
DataTemplate
Gets or sets the DataTemplate for item with LayoutType.MediumIcons.
public DataTemplate MediumIconsDataTemplate { get; set; }
SmallIconsDataTemplate
DataTemplate
Gets or sets the DataTemplate for item with LayoutType.SmallIcons.
public DataTemplate SmallIconsDataTemplate { get; set; }
TilesDataTemplate
DataTemplate
Gets or sets the DataTemplate for item with LayoutType.Tiles.
public DataTemplate TilesDataTemplate { get; set; }
Methods
SelectTemplate(object, DependencyObject)
DataTemplate
Returns the appropriate DataTemplate for LayoutConfigurationModel item depending on its LayoutType.
public override DataTemplate SelectTemplate(object item, DependencyObject container)
DataTemplate
The chosen DataTemplate.