Class
OrientationToSizeConverter

Represents a custom IValueConverter that is created to set the height or width of the item action controls of the RadListView depending on the orientation of the control.

Definition

Namespace:Telerik.UI.Xaml.Controls.Data.ListView

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class OrientationToSizeConverter : IValueConverter

Inheritance: objectOrientationToSizeConverter

Implements: IValueConverter

Constructors

OrientationToSizeConverter()

Declaration

cs-api-definition
public OrientationToSizeConverter()

Methods

Convert(object, Type, object, string)

Takes Orientation value and returns double value that specifies the height/width of the corresponding action content depending on the parameter value.

Declaration

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

Parameters

value

object

The orientation of the control.

targetType

Type

The parameter is not used.

parameter

object

Specifies whether the height or the width will be set. The available values are: "Height", "Width".

language

string

The parameter is not used.

Returns

object

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