Exposes methods to identify a region in the wroksheet and to apply sort criteria to that region.

Inheritance

object
SortSettings<RelativeIndex>

Returns the region that the filter settings is applied to (read-only).

public WorksheetRegion Region { get; }

Determines whether columns or rows will be sorted within the region. 'Rows' is the default.

public WorksheetSortType SortType { get; set; }

Clears the region as well as any existing sort criteria

public void ClearRegion()

Returns any

Initializes the region to null

protected override void InitializeRegion()

Returns any

Re-sorts all data cells in the region based on the sort conditions.

public void ReapplySortConditions()

Returns any

Sets the region where the filter settings should be applied

public void SetRegion(string address)

Parameters

  • address: string

Returns any

SetRegion(string, CellReferenceMode)

Section titled "SetRegion(string, CellReferenceMode)"

Sets the region where the filter settings should be applied

public void SetRegion(string address, CellReferenceMode cellReferenceMode)

Parameters

  • address: string
  • cellReferenceMode: CellReferenceMode

Returns any