ClassBooleanToAscendingSortOrderConverter
Class
Definition
Namespace:Telerik.Windows.Controls.FieldList.Editing
Assembly:Telerik.Windows.Controls.PivotFieldList.dll
Syntax:
cs-api-definition
[Obsolete("This class is obsolete since Q1 2014 SP1 and should not be used. It will be deleted into the future versions. Use Telerik.Windows.Controls.FieldList.Editing.BooleanToSortOrderConverter instead.")]
public class BooleanToAscendingSortOrderConverter : IValueConverter
Inheritance: objectBooleanToAscendingSortOrderConverter
Implements:
Constructors
BooleanToAscendingSortOrderConverter()
Declaration
cs-api-definition
public BooleanToAscendingSortOrderConverter()
Methods
Convert(object, Type, object, CultureInfo)
Declaration
cs-api-definition
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
The bool value to convert.
targetType
This parameter is not used.
parameter
This parameter is not used.
culture
This parameter is not used.
Returns
Ascending if value is true; otherwise, Descending.
ConvertBack(object, Type, object, CultureInfo)
Declaration
cs-api-definition
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
A SortOrder enumeration value.
targetType
This parameter is not used.
parameter
This parameter is not used.
culture
This parameter is not used.
Returns
true if value is Ascending; otherwise, false.