/// <summary> /// Create a AfterSortingEventArgs /// </summary> /// <param name="args"></param> public AfterSortingEventArgs(BeforeSortingEventArgs args) { this.columnToGroupBy = args.ColumnToGroupBy; this.groupByOrder = args.GroupByOrder; this.columnToSort = args.ColumnToSort; this.sortOrder = args.SortOrder; this.secondaryColumnToSort = args.SecondaryColumnToSort; this.secondarySortOrder = args.SecondarySortOrder; }
/// <summary> /// /// </summary> /// <param name="e"></param> protected virtual void OnBeforeSorting(BeforeSortingEventArgs e) { if (this.BeforeSorting != null) this.BeforeSorting(this, e); }