ClassExpandCollapseIndicatorLocationToGridColumnConverter
Converts an ExpandCollapseIndicatorLocation value to a grid column index.
Definition
Namespace:Telerik.Maui.Controls.Expander
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class ExpandCollapseIndicatorLocationToGridColumnConverter : IValueConverter
Inheritance: objectExpandCollapseIndicatorLocationToGridColumnConverter
Implements:
Constructors
ExpandCollapseIndicatorLocationToGridColumnConverter()
Declaration
public ExpandCollapseIndicatorLocationToGridColumnConverter()
Methods
Convert(object, Type, object, CultureInfo)
Converts an ExpandCollapseIndicatorLocation value to a grid column index.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
The ExpandCollapseIndicatorLocation value to convert.
targetType
The target type for the conversion.
parameter
An optional parameter for the conversion.
culture
The culture to use for the conversion.
Returns
0 if the location is Start, otherwise 2.
ConvertBack(object, Type, object, CultureInfo)
Converts back from a grid column index to an ExpandCollapseIndicatorLocation value.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
The value to convert back.
targetType
The target type for the conversion.
parameter
An optional parameter for the conversion.
culture
The culture to use for the conversion.
Returns
This method is not implemented.
Exceptions
Always thrown as this method is not implemented.