Метод | Описание | |
---|---|---|
Convert ( object value, |
Convert a boolean value to a Visibility value.
|
|
ConvertBack ( object value, |
Support two-way databinding of the VisibilityConverter, converting Visibility to a bool.
|
Метод | Описание | |
---|---|---|
GetVisibilityMode ( object parameter ) : Visibility |
Determine the visibility mode based on a converter parameter. This parameter is of type Visibility,and specifies what visibility value to return when the boolean value is true.
|
|
IsVisibilityInverted ( object parameter ) : bool |
Determine whether or not visibility is inverted based on a converter parameter. When the parameter is specified as Collapsed, that means that when the boolean value is true, we should return Collapsed, which is inverted.
|
public Convert ( object value, |
||
value | object | The value instance. |
targetType | The target parameter. | |
parameter | object | ConverterParameter is of type Visibility. |
culture | The culture parameter. | |
Результат | object |
public ConvertBack ( object value, |
||
value | object | The value instance. |
targetType | The target parameter. | |
parameter | object | ConverterParameter is of type Visibility. |
culture | System | The culture parameter. |
Результат | object |