BooleanToCustomVisibilityConverter.Convert Method

Definition

Convert a boolean value to a Visibility constant.

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

Parameters

value
Boolean

Value to convert

parameter
Object

Conversion parameter.

culture
CultureInfo

Culture for conversion.

Returns

VisibilityIfTrue if value is true, VisibilityIfFalse otherwise.

Applies to