Takes a double value and subtracts (or adds, if the value is negative) a certain amount.
Useful for drawing templates where you want to bind to a full dimension, minus two pixels, for example.
Public Member Functions |
|
object | Convert (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) |
Does the modification of the value (see
class summary.) |
|
object | ConvertBack (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) |
Not implemented. |
|
Properties |
|
double |
ValueTrim [get, set] |
The value to trim (or add, if it is
negative.) |
object WPFCustomControls::Customization::TrimByValueConverter::Convert | ( | object | value, |
Type | targetType, | ||
object | parameter, | ||
System.Globalization.CultureInfo | culture | ||
) | [inline] |
Does the modification of the value (see class summary.)
value | standard |
targetType | standard |
parameter | standard |
culture | standard |
object WPFCustomControls::Customization::TrimByValueConverter::ConvertBack | ( | object | value, |
Type | targetType, | ||
object | parameter, | ||
System.Globalization.CultureInfo | culture | ||
) | [inline] |
Not implemented.
value | standard |
targetType | standard |
parameter | standard |
culture | standard |
double
WPFCustomControls::Customization::TrimByValueConverter::ValueTrim
[get, set] |
The value to trim (or add, if it is negative.)