Share via


StateToBooleanConverter.Convert(Object, Type, Object, CultureInfo) Method

Definition

Takes the incoming StateLayout in value and compares it to StateToCompare. If they are equal it returns True, if they are not equal it returns False. Additionally a state to compare against can be provided in parameter.

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

Parameters

value
System.Object

The StateLayout to compare.

targetType
System.Type

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

parameter
System.Object

Optionally, a StateLayout can be supplied here to compare against.

culture
System.Globalization.CultureInfo

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

Returns

System.Object

True if the provided StateLayouts match, otherwise False if they don't match.

Implements

Applies to