Пример #1
0
		public DataGridViewColumn () {
			cellTemplate = null;
			base.DefaultCellStyle = new DataGridViewCellStyle();
			readOnly = false;
			headerCell = new DataGridViewColumnHeaderCell();
			headerCell.SetColumnIndex(Index);
			headerCell.Value = string.Empty;
			displayIndex = -1;
			dataColumnIndex = -1;
			dataPropertyName = string.Empty;
			fillWeight = 100.0F;
			sortMode = DataGridViewColumnSortMode.NotSortable;
			SetState (DataGridViewElementStates.Visible);
		}
Пример #2
0
 public DataGridViewColumn()
 {
     cellTemplate          = null;
     base.DefaultCellStyle = new DataGridViewCellStyle();
     readOnly   = false;
     headerCell = new DataGridViewColumnHeaderCell();
     headerCell.SetColumnIndex(Index);
     headerCell.Value = string.Empty;
     displayIndex     = -1;
     dataColumnIndex  = -1;
     dataPropertyName = string.Empty;
     fillWeight       = 100.0F;
     sortMode         = DataGridViewColumnSortMode.NotSortable;
     SetState(DataGridViewElementStates.Visible);
 }
Пример #3
0
 internal override void SetIndex(int index)
 {
     base.SetIndex(index);
     headerCell.SetColumnIndex(Index);
 }