public void SetColType(int iColumn, SortColumnType iColType) { int I; try { if (ColtypesCollection.Count < iColumn) { for (I = ColtypesCollection.Count; I < iColumn; I++) { ColtypesCollection.Add(new hitColumnHeader(SortColumnType.StringType)); } } ColtypesCollection[iColumn - 1].SortType = iColType; } catch (Exception ex) { throw new Exception("SetColType:" + ex.Message); } }
public hitColumnHeader(SortColumnType SortType, HorizontalAlignment Alignment) { _SortType = SortType; _Alignment = Alignment; }
public hitColumnHeader(SortColumnType SortType) { _SortType = SortType; _Alignment = HorizontalAlignment.Left; }
public NumberTextComparer(SortColumnType columnType) { ColumnType = columnType; }