Ejemplo n.º 1
0
 public void set_column_header_right_click_callback(IRecordsetView.ColumnHeaderRightClickCallback callback)
 {
     get_column_header_right_click_menu = callback;
 }
Ejemplo n.º 2
0
 public void set_column_resize_callback(IRecordsetView.ColumnResizeCallback callback)
 {
     column_resize_callback = callback;
 }
Ejemplo n.º 3
0
 public void set_column_header_indicator(int column, IRecordsetView.ColumnHeaderIndicator order)
 {
     switch (order)
       {
       case IRecordsetView.ColumnHeaderIndicator.NoOrder:
     gridView.Columns[column].HeaderCell.SortGlyphDirection = SortOrder.None;
     break;
       case IRecordsetView.ColumnHeaderIndicator.OrderAsc:
     gridView.Columns[column].HeaderCell.SortGlyphDirection = SortOrder.Ascending;
     break;
       case IRecordsetView.ColumnHeaderIndicator.OrderDesc:
     gridView.Columns[column].HeaderCell.SortGlyphDirection = SortOrder.Descending;
     break;
       }
 }