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
Plus1Converter
Declaration
public static readonly ArithmeticConverter Plus1Converter
Field Value
Properties
FirstOperand
Gets or sets the first (left) operand.
Declaration
public Nullable<double> FirstOperand { get; set; }
Property Value
System.
|
Operator
Gets or sets the arithmetic operator. For example '+', '-', '*', '/', '%'.
Declaration
public string Operator { get; set; }
Property Value
System.
|
SecondOperand
Gets or sets the second (right) operand.
Declaration
public Nullable<double> SecondOperand { get; set; }
Property Value
System.
|
Methods
Convert(Object, Type, Object, CultureInfo)
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.
|
System.
|
System.
|
System.
|
Returns
System.
|
ConvertBack(Object, Type, Object, CultureInfo)
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.
|
System.
|
System.
|
System.
|
Returns
System.
|