C# Class Dynamo.Controls.StateToColorConverter

Inheritance: IValueConverter
显示文件 Open project: DynamoDS/Dynamo

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
GetBodyBackground ( ElementState elementState ) : SolidColorBrush
GetHeaderBackground ( ElementState elementState ) : SolidColorBrush
GetHeaderBorder ( ElementState elementState ) : SolidColorBrush
GetHeaderForeground ( ElementState elementState ) : SolidColorBrush
GetOuterBorder ( ElementState elementState ) : SolidColorBrush

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