Binary |
[ValueConversionAttribute(typeof(Object), typeof(Object))] public class BinaryOperationConverter : ValueConverter, IMultiValueConverter
The BinaryOperationConverter type exposes the following members.
Name | Description | |
---|---|---|
BinaryOperationConverter | Initializes a new instance of the BinaryOperationConverter class |
Name | Description | |
---|---|---|
ConvertBackErrorValue |
Gets or sets the error value, which is returned whenever the value to convert back produces an error; the default is UnsetValue.
(Inherited from ValueConverter) | |
ConvertBackNullValue |
Gets or sets the null value, which is returned whenever the value to convert back is null; the default is null.
(Inherited from ValueConverter) | |
ConvertBackUnsetValue |
Gets or sets the unset value, which is returned whenever the value to convert back is UnsetValue; the default is UnsetValue.
(Inherited from ValueConverter) | |
ConvertErrorValue |
Gets or sets the error value, which is returned whenever the value to convert produces an error; the default is UnsetValue.
(Inherited from ValueConverter) | |
ConvertNullValue |
Gets or sets the null value, which is returned whenever the value to convert is null; the default is null.
(Inherited from ValueConverter) | |
ConvertUnsetValue |
Gets or sets the unset value, which is returned whenever the value to convert is UnsetValue; the default is UnsetValue.
(Inherited from ValueConverter) | |
Operation | Gets or sets the operation the converter is performing. |
Name | Description | |
---|---|---|
Convert(Object, Type, Object, CultureInfo) |
Converts a value.
(Overrides ValueConverterConvert(Object, Type, Object, CultureInfo)) | |
Convert(Object, Type, Object, CultureInfo) | Converts source values to a value for the binding target. The data binding engine calls this method when it propagates the values from source bindings to the binding target. | |
ConvertBack(Object, Type, Object, CultureInfo) | Converts a binding target value to the source binding values. | |
ConvertBack(Object, Type, Object, CultureInfo) |
Converts a value.
(Inherited from ValueConverter) | |
ProvideValue |
When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension.
(Inherited from ValueConverter) |
Name | Description | |
---|---|---|
Addition | The default addition converter. | |
Division | The default division converter. | |
Equality | The default equality converter. | |
GreaterThan | The default greater than converter. | |
GreaterThanOrEqual | The default greater than or equals converter. | |
Inequality | The default inequality converter. | |
LessThan | The default less than converter. | |
LessThanOrEqual | The default less than or equals converter. | |
Multiply | The default multiplication converter. | |
Subtraction | The default subtraction converter. |
Name | Description | |
---|---|---|
SafeCastT |
Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions) | |
TraceError |
Traces an error for the specified converter.
(Defined by ValueConverterExtensions) |