Method | Description | |
---|---|---|
Convert ( object value, |
Convert a boolean value to an other object.
|
|
ConvertBack ( object value, |
Convert back the value to a boolean If the value parameter is a reference type, TrueValue must match its reference to return true. |
Method | Description | |
---|---|---|
Convert ( object value, |
Helper method to convert a value from a source type to a target type.
|
|
TryParseBool ( object parameter ) : bool |
Helper method to safely cast an object to a boolean
|
public Convert ( object value, |
||
value | object | The source data being passed to the target. |
targetType | The type of the target property, as a type reference. | |
parameter | object | An optional parameter to be used to invert the converter logic. |
language | string | The language of the conversion. |
return | object |
public ConvertBack ( object value, |
||
value | object | The target data being passed to the source. |
targetType | The type of the target property, as a type reference (System.Type for Microsoft .NET, a TypeName helper struct for Visual C++ component extensions (C++/CX)). | |
parameter | object | An optional parameter to be used to invert the converter logic. |
language | string | The language of the conversion. |
return | object |