BooleanToCustomVisibilityConverter.Convert Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.