Επεξεργασία

Κοινή χρήση μέσω


BooleanToVisibilityConverter.Convert Method

Definition

Converts a Boolean value to a Visibility enumeration value.

public:
 virtual System::Object ^ Convert(System::Object ^ value, Type ^ targetType, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
public object Convert (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture);
abstract member Convert : obj * Type * obj * System.Globalization.CultureInfo -> obj
override this.Convert : obj * Type * obj * System.Globalization.CultureInfo -> obj
Public Function Convert (value As Object, targetType As Type, parameter As Object, culture As CultureInfo) As Object

Parameters

value
Object

The Boolean value to convert. This value can be a standard Boolean value or a nullable Boolean value.

targetType
Type

This parameter is not used.

parameter
Object

This parameter is not used.

culture
CultureInfo

This parameter is not used.

Returns

Visible if value is true; otherwise, Collapsed.

Implements

Applies to