Class
OrientationToHorizontalAlignmentConverter

Represents a custom IValueConverter that is created to set the alignment 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 OrientationToHorizontalAlignmentConverter : IValueConverter

Inheritance: objectOrientationToHorizontalAlignmentConverter

Implements: IValueConverter

Constructors

OrientationToHorizontalAlignmentConverter()

Declaration

cs-api-definition
public OrientationToHorizontalAlignmentConverter()

Methods

Convert(object, Type, object, string)

Takes Orientation value and returns HorizontalAlignment value that specifies the alignment of the corresponding action content.

Declaration

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

Parameters

value

object

The input value.

targetType

Type

The type of the context.

parameter

object

Specifies which action button is being positioned. The available values are: "First" or "Second".

language

string

The language parameter.

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