Share via


BoolToObjectConverter<TObject>.Convert Method

Definition

Converts System.Boolean to object.

public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture);

Parameters

value
System.Object

The value to convert.

targetType
System.Type

The type of the binding target property. This is not implemented.

parameter
System.Object

Additional parameter for the converter to handle. This is not implemented.

culture
System.Globalization.CultureInfo

The culture to use in the converter. This is not implemented.

Returns

System.Object

The object assigned to TrueObject if value equals True, otherwise the value assigned to FalseObject.

Implements

Applies to