Converts a value to a boolean. True is returned, if the specified parameter is the string representation of value.
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture);
Public Function Convert(value As Object, targetType As Type, parameter As Object, culture As CultureInfo) As Object
Parameter | Description |
---|---|
value | The value produced by the binding source. Supported types are: System. |
target |
The type of the binding target property. It must be a boolean. |
parameter | The converter parameter to use. It must be a string. The converter returns true, if this value is the string representation of value. To convert a bool? to a bool, this parameter is not used and can be set to null. |
culture | The culture to use in the converter. |
The converted value, true or false. The method returns Dependency