• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class SortingExtensions

Extension methods providing fluent sort builders on Range.

Inheritance
object
SortingExtensions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public static class SortingExtensions

Methods

Sort(Range, bool)

Starts a fluent sort on the range, sorting by the first column in the specified order.

Declaration
public static SortBuilder Sort(this Range range, bool ascending = true)
Parameters
Type Name Description
Range range

The range to sort.

bool ascending

When true the first column is sorted ascending; otherwise descending. Default is true.

Returns
Type Description
SortBuilder

A SortBuilder for chaining additional sort levels and applying the sort.

Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX