ClassLayoutTypeToIconConverter
A converter to return the appropriate ImageSource based on the LayoutType for the current item.
Definition
Namespace:Telerik.Windows.Controls.FileDialogs
Assembly:Telerik.Windows.Controls.FileDialogs.dll
Syntax:
public class LayoutTypeToIconConverter : IValueConverter
Inheritance: objectLayoutTypeToIconConverter
Implements:
Constructors
LayoutTypeToIconConverter()
Declaration
public LayoutTypeToIconConverter()
Properties
DetailsImageSource
Gets or sets the ImageSource for LayoutType.Details.
Declaration
public ImageSource DetailsImageSource { get; set; }
Property Value
ImageSource
ExtraLargeIconImageSource
Gets or sets the ImageSource for LayoutType.ExtraLargeIcons.
Declaration
public ImageSource ExtraLargeIconImageSource { get; set; }
Property Value
ImageSource
LargeIconImageSource
Gets or sets the ImageSource for LayoutType.ExtraLargeIcons.
Declaration
public ImageSource LargeIconImageSource { get; set; }
Property Value
ImageSource
ListImageSource
Gets or sets the ImageSource for LayoutType.List.
Declaration
public ImageSource ListImageSource { get; set; }
Property Value
ImageSource
MediumIconImageSource
Gets or sets the ImageSource for LayoutType.ExtraLargeIcons.
Declaration
public ImageSource MediumIconImageSource { get; set; }
Property Value
ImageSource
SmallIconImageSource
Gets or sets the ImageSource for LayoutType.SmallIcons.
Declaration
public ImageSource SmallIconImageSource { get; set; }
Property Value
ImageSource
TilesImageSource
Gets or sets the ImageSource for LayoutType.Tiles.
Declaration
public ImageSource TilesImageSource { get; set; }
Property Value
ImageSource
Methods
Convert(object, Type, object, CultureInfo)
Convert method to return the IconSource for the LayoutType.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
LayoutType.
targetType
parameter
culture
Returns
IconSource.
ConvertBack(object, Type, object, CultureInfo)
Convert back method. Returns the value.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
targetType
parameter
culture
Returns