Class LayoutConfiguratorTemplateSelector
Template selector that is used to provide the System.Windows.DataTemplate based on the LayoutType of the model.
Inheritance
Namespace: Telerik.Windows.Controls.FileDialogs
Assembly: Telerik.Windows.Controls.FileDialogs.dll
Syntax
public class LayoutConfiguratorTemplateSelector : DataTemplateSelector
Constructors
LayoutConfiguratorTemplateSelector()
Declaration
public LayoutConfiguratorTemplateSelector()
Properties
DetailsDataTemplate
Gets or sets the DataTemplate for item with LayoutType.Details.
Declaration
public DataTemplate DetailsDataTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
ExtraLargeIconsDataTemplate
Gets or sets the DataTemplate for item with LayoutType.ExtraLargeIcons.
Declaration
public DataTemplate ExtraLargeIconsDataTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
LargeIconsDataTemplate
Gets or sets the DataTemplate for item with LayoutType.LargeIcons.
Declaration
public DataTemplate LargeIconsDataTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
ListDataTemplate
Gets or sets the DataTemplate for item with LayoutType.List.
Declaration
public DataTemplate ListDataTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
MediumIconsDataTemplate
Gets or sets the DataTemplate for item with LayoutType.MediumIcons.
Declaration
public DataTemplate MediumIconsDataTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
SmallIconsDataTemplate
Gets or sets the DataTemplate for item with LayoutType.SmallIcons.
Declaration
public DataTemplate SmallIconsDataTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
TilesDataTemplate
Gets or sets the DataTemplate for item with LayoutType.Tiles.
Declaration
public DataTemplate TilesDataTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
Methods
SelectTemplate(Object, DependencyObject)
Returns the appropriate System.Windows.DataTemplate for LayoutConfigurationModel item depending on its LayoutType.
Declaration
public override DataTemplate SelectTemplate(object item, DependencyObject container)
Parameters
System.Object
item
|
System.Windows.DependencyObject
container
|
Returns
System.Windows.DataTemplate
The chosen DataTemplate. |