BooleanToVisibilityConverter.Convert Metoda

Definicja

Konwertuje wartość logiczną Visibility na wartość wyliczenia.

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

Parametry

value
Object

Wartość logiczna, która ma zostać przekształcona. Ta wartość może być standardową wartością logiczną lub wartością logiczną dopuszczaną do wartości null.

targetType
Type

Ten parametr nie jest używany.

parameter
Object

Ten parametr nie jest używany.

culture
CultureInfo

Ten parametr nie jest używany.

Zwraca

Visible if value is true; w przeciwnym razie , Collapsed.

Implementuje

Dotyczy