Composes a Thickness value from 1 or more input values, potentially doing calculations on them as defined by the converter parameter.
More...
Inherits IValueConverter, and IMultiValueConverter.
|
object | Convert (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) |
| Conversion (see MSDN help for more information about this method...). More...
|
|
object | Convert (object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture) |
| Conversion (see MSDN help for more information about this method...). More...
|
|
object | ConvertBack (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) |
| Inverse conversion - not supported by this converter. More...
|
|
object[] | ConvertBack (object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture) |
| Inverse conversion - not supported by this converter. More...
|
|
|
Thickness | Parse (double[] v, string param) |
| Convert one or more double values into a Thickness structure. More...
|
|
Composes a Thickness value from 1 or more input values, potentially doing calculations on them as defined by the converter parameter.
Refer to the binding values via variable v; calculation is being carried out uniformly for all the constituents...
◆ Convert() [1/2]
object Convert |
( |
object |
value, |
|
|
Type |
targetType, |
|
|
object |
parameter, |
|
|
System.Globalization.CultureInfo |
culture |
|
) |
| |
Conversion (see MSDN help for more information about this method...).
- Parameters
-
value | Input value. |
targetType | Target data type (currently only double is supported |
parameter | Mathmetical expression. |
culture | Ignored |
- Returns
- Conversion result
◆ Convert() [2/2]
object Convert |
( |
object[] |
values, |
|
|
Type |
targetType, |
|
|
object |
parameter, |
|
|
System.Globalization.CultureInfo |
culture |
|
) |
| |
Conversion (see MSDN help for more information about this method...).
- Parameters
-
values | Input values to be converted |
targetType | Target data type (currently only double is supported |
parameter | Mathmetical expression. |
culture | Ignored |
- Returns
- Conversion result
◆ ConvertBack() [1/2]
object ConvertBack |
( |
object |
value, |
|
|
Type |
targetType, |
|
|
object |
parameter, |
|
|
System.Globalization.CultureInfo |
culture |
|
) |
| |
Inverse conversion - not supported by this converter.
- Parameters
-
value | Ignored. |
targetType | Ignored. |
parameter | Ignored. |
culture | Ignored. |
- Returns
- Nothing.
- Exceptions
-
NotSupportedException | Always. |
◆ ConvertBack() [2/2]
object[] ConvertBack |
( |
object |
value, |
|
|
Type[] |
targetTypes, |
|
|
object |
parameter, |
|
|
System.Globalization.CultureInfo |
culture |
|
) |
| |
Inverse conversion - not supported by this converter.
- Parameters
-
value | Ignored. |
targetTypes | Ignored. |
parameter | Ignored. |
culture | Ignored. |
- Returns
- Nothing.
- Exceptions
-
NotSupportedException | Always. |
◆ Parse()
Thickness Parse |
( |
double[] |
v, |
|
|
string |
param |
|
) |
| |
|
protected |
Convert one or more double values into a Thickness structure.
- Parameters
-
v | double values |
param | parser expression(s) (comma separated) |
- Returns
- The parsed thickness.