Class
LayoutTypeToIconConverter

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:

cs-api-definition
public class LayoutTypeToIconConverter : IValueConverter

Inheritance: objectLayoutTypeToIconConverter

Implements: IValueConverter

Constructors

LayoutTypeToIconConverter()

Declaration

cs-api-definition
public LayoutTypeToIconConverter()

Properties

DetailsImageSource

Gets or sets the ImageSource for LayoutType.Details.

Declaration

cs-api-definition
public ImageSource DetailsImageSource { get; set; }

Property Value

ImageSource

ExtraLargeIconImageSource

Gets or sets the ImageSource for LayoutType.ExtraLargeIcons.

Declaration

cs-api-definition
public ImageSource ExtraLargeIconImageSource { get; set; }

Property Value

ImageSource

LargeIconImageSource

Gets or sets the ImageSource for LayoutType.ExtraLargeIcons.

Declaration

cs-api-definition
public ImageSource LargeIconImageSource { get; set; }

Property Value

ImageSource

ListImageSource

Gets or sets the ImageSource for LayoutType.List.

Declaration

cs-api-definition
public ImageSource ListImageSource { get; set; }

Property Value

ImageSource

MediumIconImageSource

Gets or sets the ImageSource for LayoutType.ExtraLargeIcons.

Declaration

cs-api-definition
public ImageSource MediumIconImageSource { get; set; }

Property Value

ImageSource

SmallIconImageSource

Gets or sets the ImageSource for LayoutType.SmallIcons.

Declaration

cs-api-definition
public ImageSource SmallIconImageSource { get; set; }

Property Value

ImageSource

TilesImageSource

Gets or sets the ImageSource for LayoutType.Tiles.

Declaration

cs-api-definition
public ImageSource TilesImageSource { get; set; }

Property Value

ImageSource

Methods

Convert(object, Type, object, CultureInfo)

Convert method to return the IconSource for the LayoutType.

Declaration

cs-api-definition
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)

Parameters

value

object

LayoutType.

targetType

Type

parameter

object

culture

CultureInfo

Returns

object

IconSource.

ConvertBack(object, Type, object, CultureInfo)

Convert back method. Returns the value.

Declaration

cs-api-definition
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)

Parameters

value

object

targetType

Type

parameter

object

culture

CultureInfo

Returns

object