Class FilePathPickerIconTemplateSelector
Selects System.Windows.DataTemplate for the icon based on the FilePath property of the RadFilePathPicker control. If null or empty string is provided - EmptyTemplate is used, otherwise - NonEmptyTemplate.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.FileDialogs.dll
Syntax
public class FilePathPickerIconTemplateSelector : DataTemplateSelector
Constructors
FilePathPickerIconTemplateSelector()
Declaration
public FilePathPickerIconTemplateSelector()
Properties
EmptyTemplate
Icon template for empty file path.
Declaration
public DataTemplate EmptyTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
NonEmptyTemplate
Icon template for existing file path.
Declaration
public DataTemplate NonEmptyTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
Methods
SelectTemplate(Object, DependencyObject)
Selects DataTemplate based on the icon object provided.
Declaration
public override DataTemplate SelectTemplate(object item, DependencyObject container)
Parameters
System.Object
item
|
System.Windows.DependencyObject
container
|
Returns
System.Windows.DataTemplate
|