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.
- Namespace
- MahApps
.Metro .Converters - Interfaces
-
- IMultiValueConverter
- Base Types
-
- IValueConverter
graph BT
Type-->Base0["IValueConverter"]
Type-.->Interface0["IMultiValueConverter"]
Type["MathConverter"]
class Type type-node
Syntax
public sealed class MathConverter : IValueConverter, IMultiValueConverter
Properties
Name | Value | Summary |
---|---|---|
Operation | MathOperation |
Methods
Name | Value | Summary |
---|---|---|
Convert |
object | |
Convert |
object | |
ConvertBack |
object | |
ConvertBack |
object[] |