ClassOrientationToSizeConverter
Class
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:
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
The orientation of the control.
targetType
The parameter is not used.
parameter
Specifies whether the height or the width will be set. The available values are: "Height", "Width".
language
The parameter is not used.
Returns