/// <summary> /// Sort the column /// </summary> /// <param name="ascending"></param> public void Sort(bool ascending) { Controllers.SortableHeader sortableHeader = (Controllers.SortableHeader)FindController(typeof(Controllers.SortableHeader)); if (sortableHeader == null) { throw new SourceGridException("No SortableHeader controller found"); } sortableHeader.SortColumn(new CellContext(Grid, Range.Start, this), ascending, SortComparer); }
/// <summary> /// Static constructor /// </summary> static SortableHeader() { Default = new SortableHeader(); }
/// <summary> /// Static constructor /// </summary> static SortableHeader() { Default = new SortableHeader(); }