Edit

Share via


BoolToObjectConverter.ConvertBack(Object, Type, Object, String) Method

Definition

Convert back the value to a boolean

public object ConvertBack (object value, Type targetType, object parameter, string language);
abstract member ConvertBack : obj * Type * obj * string -> obj
override this.ConvertBack : obj * Type * obj * string -> obj
Public Function ConvertBack (value As Object, targetType As Type, parameter As Object, language As String) As Object

Parameters

value
Object

The target data being passed to the source.

targetType
Type

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.

Returns

The value to be passed to the source object.

Implements

Microsoft.UI.Xaml.Data.IValueConverter.ConvertBack(System.Object,System.Type,System.Object,System.String)

Remarks

If the value parameter is a reference type, TrueValue must match its reference to return true.

Applies to