Summary
MathConverter provides a value converter which can be used for math operations.
It can be used for normal binding or multi binding as well.
If it is used for normal binding the given parameter will be used as operands with the selected operation.
If it is used for multi binding then the first and second binding will be used as operands with the selected operation.
This class cannot be inherited.
graph BT
Type-->Base0["IValueConverter"]
Type-.->Interface0["IMultiValueConverter"]
Type["MathConverter"]
class Type type-node
Syntax
[ValueConversion(typeof(object), typeof(object))]
public sealed class MathConverter : IValueConverter, IMultiValueConverter
Attributes
Type |
Description |
ValueConversion |
|
Properties
Methods
Name |
Value |
Summary |
Convert(object, Type, object, CultureInfo) |
object |
|
Convert(object[], Type, object, CultureInfo) |
object |
|
ConvertBack(object, Type, object, CultureInfo) |
object |
|
ConvertBack(object, Type[], object, CultureInfo) |
object[] |
|