C# Class ModernWPF.Converters.FileIconConverter

Inheritance: IValueConverter
Mostrar archivo Open project: soukoku/ModernWPF

Public Methods

Method Description
Convert ( object value, Type targetType, object parameter, System culture ) : object

Converts a value.

ConvertBack ( object value, Type targetType, object parameter, System culture ) : object

Not supported.

Protected Methods

Method Description
GetFileIconCore ( object value, bool large ) : System.Windows.Media.ImageSource

Real method to get the file icon after parsing the parameter.

Method Details

Convert() public method

Converts a value.
public Convert ( object value, Type targetType, object parameter, System culture ) : object
value object The value produced by the binding source.
targetType System.Type The type of the binding target property.
parameter object The converter parameter to use.
culture System The culture to use in the converter.
return object

ConvertBack() public method

Not supported.
public ConvertBack ( object value, Type targetType, object parameter, System culture ) : object
value object The value that is produced by the binding target.
targetType System.Type The type to convert to.
parameter object The converter parameter to use.
culture System The culture to use in the converter.
return object

GetFileIconCore() protected method

Real method to get the file icon after parsing the parameter.
protected GetFileIconCore ( object value, bool large ) : System.Windows.Media.ImageSource
value object The databound value.
large bool if set to true return large icon.
return System.Windows.Media.ImageSource