VisibilityToBoolConverter.Convert(Object, Type, Object, String) Method

Definition

Convert a Microsoft.UI.Xaml.Visibility value to boolean.

public object Convert (object value, Type targetType, object parameter, string language);
abstract member Convert : obj * Type * obj * string -> obj
override this.Convert : obj * Type * obj * string -> obj
Public Function Convert (value As Object, targetType As Type, parameter As Object, language As String) As Object

Parameters

value
Object

The Microsoft.UI.Xaml.Visibility value to convert.

targetType
Type

The type of the target property, as a type reference.

parameter
Object

Optional parameter. Not used.

language
String

The language of the conversion. Not used

Returns

The value to be passed to the target dependency property.

Implements

Microsoft.UI.Xaml.Data.IValueConverter.Convert(System.Object,System.Type,System.Object,System.String)

Applies to