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

A style selector that returns a different style whether a FileSystemInfoWrapper is a file or directory.

Definition

Namespace:Telerik.Windows.Controls.FileDialogs

Assembly:Telerik.Windows.Controls.FileDialogs.dll

Syntax:

C#
public class FileBrowserAutocompleteBoxesItemStyleSelector : StyleSelector

Inheritance: objectFileBrowserAutocompleteBoxesItemStyleSelector

Constructors

C#
public FileBrowserAutocompleteBoxesItemStyleSelector()

Properties

Gets or sets the style for item that is DirectoryInfoWrapper.

C#
public Style DirectoryStyle { get; set; }

Gets or sets the style for item that is a FileInfoWrapper.

C#
public Style FileStyle { get; set; }

Methods

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

Style