Class AddTestConverter
public class AddTestConverter : MarkupValueConverterBase, IValueConverter, INotifyPropertyChanged
- Inheritance
-
AddTestConverter
- Implements
- Inherited Members
- Extension Methods
Properties
First
说明
public int First { get; set; }
Property Value
Result
说明
public int Result { get; set; }
Property Value
Second
说明
public int Second { get; set; }
Property Value
Methods
Convert(object, Type, object, CultureInfo)
Converts a value.
public override object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
objectThe value produced by the binding source.
targetType
TypeThe type of the binding target property.
parameter
objectThe converter parameter to use.
culture
CultureInfoThe culture to use in the converter.
Returns
ConvertBack(object, Type, object, CultureInfo)
Converts a value.
public override object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
objectThe value that is produced by the binding target.
targetType
TypeThe type to convert to.
parameter
objectThe converter parameter to use.
culture
CultureInfoThe culture to use in the converter.