C# Class ModernWPF.Converters.IsSmallFontConverter

A converter that tests if a TextBlock's font size is considered a small font size to allow changing TextOptions.
Inheritance: IMultiValueConverter
显示文件 Open project: soukoku/ModernWPF

Public Methods

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

Converts a TextBlock value to boolean true if too small.

ConvertBack ( object value, Type targetTypes, object parameter, CultureInfo culture ) : object[]

Not supported.

Method Details

Convert() public method

Converts a TextBlock value to boolean true if too small.
public Convert ( object values, Type targetType, object parameter, CultureInfo culture ) : object
values object The values.
targetType System.Type Type of the target.
parameter object The parameter.
culture System.Globalization.CultureInfo The culture.
return object

ConvertBack() public method

Not supported.
public ConvertBack ( object value, Type targetTypes, object parameter, CultureInfo culture ) : object[]
value object The value.
targetTypes System.Type The target types.
parameter object The parameter.
culture System.Globalization.CultureInfo The culture.
return object[]