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); }
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); }
internal override void SetIndex(int index) { base.SetIndex(index); headerCell.SetColumnIndex(Index); }