New to Telerik UI for WPFStart a free 30-day trial

A style selector that returns a different style based on the LayoutType of the LayoutConfigurationModel of the control.

Definition

Namespace:Telerik.Windows.Controls.FileDialogs

Assembly:Telerik.Windows.Controls.FileDialogs.dll

Syntax:

C#
public class LayoutConfiguratorStyleSelector : StyleSelector

Inheritance: objectLayoutConfiguratorStyleSelector

Constructors

C#
public LayoutConfiguratorStyleSelector()

Properties

Gets or sets the default style for item.

C#
public Style DefaultStyle { get; set; }

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

C#
public Style DetailsStyle { get; set; }

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

C#
public Style ExtraLargeIconsStyle { get; set; }

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

C#
public Style LargeIconsStyle { get; set; }

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

C#
public Style ListStyle { get; set; }

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

C#
public Style MediumIconsStyle { get; set; }

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

C#
public Style SmallIconsStyle { get; set; }

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

C#
public Style TilesStyle { get; set; }

Methods

Selects a Style based on the LayoutType of the LayoutConfigurationModel.

C#
public override Style SelectStyle(object item, DependencyObject container)
Parameters:itemobjectcontainerDependencyObjectReturns:

Style