/// <summary> /// Initializes a new instance of the SortColumnHeader class. /// </summary> /// <param name="sortOrder">The sort order</param> /// <param name="columnHeaderSorter">The sort comparer</param> /// <remarks> /// The new SortColumnHeader instance has a sort order <paramref name="sortOrder"/>, /// and a sort comparer of <paramref name="columnHeaderSorter"/>. /// </remarks> public SortColumnHeader(SortOrder sortOrder, SortComparer columnHeaderSorter) { m_sortOrder = sortOrder; m_columnHeaderSorter = columnHeaderSorter; }
/// <summary> /// Initializes a new default instance of the SortColumnHeader class. /// </summary> /// <remarks> /// The new SortColumnHeader instance has a default sort order of SortOrder.None, /// and a default sort comparer of System.Windows.Forms.CompareString. /// </remarks> public SortColumnHeader() { m_sortOrder = SortOrder.None; m_columnHeaderSorter = new ComparerString(); }