New to Telerik UI for WPFStart a free 30-day trial

Represents sorting dialog context

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public class SortingDialogContext : RadSpreadsheetDialogContext

Inheritance: objectRadSpreadsheetDialogContextSortingDialogContext

Inherited Members RadSpreadsheetDialogContext.RadSpreadsheetRadSpreadsheetDialogContext.Owner

Constructors

Initializes a new instance of the SortingDialogContext class.

C#
public SortingDialogContext(RadSpreadsheet radSpreadsheet, CellRange sortRange)
Parameters:radSpreadsheetRadSpreadsheet

The RadSpreadsheet.

sortRangeCellRange

The sort range.

Properties

SortRange

CellRange

Gets the sort range.

C#
public CellRange SortRange { get; }
Property Value:

The sort range.

Methods

Applies the sort conditions.

C#
public void ApplySortConditions(IEnumerable<ISortCondition> sortConditions)
Parameters:sortConditionsIEnumerable<ISortCondition>

The sort conditions.

Gets the sort conditions.

C#
public IEnumerable<ISortCondition> GetSortConditions()
Returns:

IEnumerable<ISortCondition>