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
public ExpandCollapseIndicatorLocationToGridColumnConverter()
Methods
Converts an ExpandCollapseIndicatorLocation value to a grid column index.
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
The ExpandCollapseIndicatorLocation value to convert.
targetTypeTypeThe target type for the conversion.
parameterobjectAn optional parameter for the conversion.
cultureCultureInfoThe culture to use for the conversion.
Returns:0 if the location is Start, otherwise 2.
Converts back from a grid column index to an ExpandCollapseIndicatorLocation value.
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
The value to convert back.
targetTypeTypeThe target type for the conversion.
parameterobjectAn optional parameter for the conversion.
cultureCultureInfoThe culture to use for the conversion.
Returns:This method is not implemented.
Exceptions:Always thrown as this method is not implemented.