C# Class AcManager.Controls.Converters.RealismLevelToColorConverter

Inheritance: IValueConverter
显示文件 Open project: gro-ove/actools

Public Methods

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

Private Methods

Method Description
GetColor ( RealismLevel level ) : Color

Method Details

Convert() public method

public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object
targetType System.Type
parameter object
culture System.Globalization.CultureInfo
return object

ConvertBack() public method

public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object
targetType System.Type
parameter object
culture System.Globalization.CultureInfo
return object