Class ArithmeticConverter
A converter that executes an arithmetic operation with the value and one operand.
Inheritance
System.Object
ArithmeticConverter
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll
Syntax
public class ArithmeticConverter : Object, IValueConverter
Constructors
ArithmeticConverter()
Declaration
public ArithmeticConverter()
Fields
Minus1Converter
Declaration
public static readonly ArithmeticConverter Minus1Converter
Field Value
ArithmeticConverter
|
Plus1Converter
Declaration
public static readonly ArithmeticConverter Plus1Converter
Field Value
ArithmeticConverter
|
Properties
FirstOperand
Gets or sets the first (left) operand.
Declaration
public Nullable<double> FirstOperand { get; set; }
Property Value
System.Nullable<System.Double>
|
Operator
Gets or sets the arithmetic operator. For example '+', '-', '*', '/', '%'.
Declaration
public string Operator { get; set; }
Property Value
System.String
|
SecondOperand
Gets or sets the second (right) operand.
Declaration
public Nullable<double> SecondOperand { get; set; }
Property Value
System.Nullable<System.Double>
|
Methods
Convert(Object, Type, Object, CultureInfo)
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
|
System.Type
targetType
|
System.Object
parameter
|
System.Globalization.CultureInfo
culture
|
Returns
System.Object
|
ConvertBack(Object, Type, Object, CultureInfo)
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
|
System.Type
targetType
|
System.Object
parameter
|
System.Globalization.CultureInfo
culture
|
Returns
System.Object
|