ClassIntToTextConverter
Definition
Namespace:ArtOfTest.WebAii.Design.UI
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
public class IntToTextConverter : IValueConverter
Inheritance: objectIntToTextConverter
Implements:
Constructors
IntToTextConverter()
Declaration
public IntToTextConverter()
Properties
Instance
Declaration
public static IntToTextConverter Instance { get; }
Property Value
Methods
Convert(object, Type, object, CultureInfo)
Modifies the source data before passing it to the target for display in the UI.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
The source data being passed to the target.
targetType
The Type of data expected by the target dependency property.
parameter
An optional parameter to be used in the converter logic.
culture
The culture of the conversion.
Returns
The value to be passed to the target dependency property.
Implements
ConvertBack(object, Type, object, CultureInfo)
Modifies the target data before passing it to the source object. This method is called only in TwoWay bindings.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
The target data being passed to the source.
targetType
The Type of data expected by the source object.
parameter
An optional parameter to be used in the converter logic.
culture
The culture of the conversion.
Returns
The value to be passed to the source object.
Implements