共用方式為


BooleanToCustomVisibilityConverter.ConvertBack Method

Definition

Converts a Visibility constant to a boolean value. This converter is invertible only if VisibilityIfTrue and VisibilityIfFalse map to different values (i.e. a one-to-one function). Similarly, multiplying by a scalar is not an invertible operation under certain conditions (if the scalar is zero).

protected:
 override bool ConvertBack(System::Windows::Visibility value, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
protected override bool ConvertBack (System.Windows.Visibility value, object parameter, System.Globalization.CultureInfo culture);
override this.ConvertBack : System.Windows.Visibility * obj * System.Globalization.CultureInfo -> bool
Protected Overrides Function ConvertBack (value As Visibility, parameter As Object, culture As CultureInfo) As Boolean

Parameters

value
Visibility

The value to convert.

parameter
Object

The conversion parameter.

culture
CultureInfo

The culture for conversion.

Returns

True if value is true, false otherwise.

Applies to