Class
ExpandCollapseIndicatorLocationToGridColumnConverter

Converts an ExpandCollapseIndicatorLocation value to a grid column index.

Definition

Namespace:Telerik.Maui.Controls.Expander

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class ExpandCollapseIndicatorLocationToGridColumnConverter : IValueConverter

Inheritance: objectExpandCollapseIndicatorLocationToGridColumnConverter

Implements: IValueConverter

Constructors

ExpandCollapseIndicatorLocationToGridColumnConverter()

Declaration

cs-api-definition
public ExpandCollapseIndicatorLocationToGridColumnConverter()

Methods

Convert(object, Type, object, CultureInfo)

Converts an ExpandCollapseIndicatorLocation value to a grid column index.

Declaration

cs-api-definition
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)

Parameters

value

object

The ExpandCollapseIndicatorLocation value to convert.

targetType

Type

The target type for the conversion.

parameter

object

An optional parameter for the conversion.

culture

CultureInfo

The culture to use for the conversion.

Returns

object

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

cs-api-definition
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)

Parameters

value

object

The value to convert back.

targetType

Type

The target type for the conversion.

parameter

object

An optional parameter for the conversion.

culture

CultureInfo

The culture to use for the conversion.

Returns

object

This method is not implemented.

Exceptions

NotImplementedException

Always thrown as this method is not implemented.