Class
ContentToVisibilityConverter

Value converter that converts a Content to a Visibility.

Definition

Namespace:Telerik.UI.Xaml.Controls.Primitives

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class ContentToVisibilityConverter : IValueConverter

Inheritance: objectContentToVisibilityConverter

Implements: IValueConverter

Constructors

ContentToVisibilityConverter()

Declaration

cs-api-definition
public ContentToVisibilityConverter()

Methods

Convert(object, Type, object, string)

Converts a Content value to a Visibility value.

Declaration

cs-api-definition
public object Convert(object value, Type targetType, object parameter, string language)

Parameters

value

object

The source string being passed to the target.

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.

Returns

object

The string corresponding to the resource name.

ConvertBack(object, Type, object, string)

Not implemented.

Declaration

cs-api-definition
public object ConvertBack(object value, Type targetType, object parameter, string language)

Parameters

value

object

targetType

Type

parameter

object

language

string

Returns

object