Base:
property
Control
System.Windows.Forms.Design.ControlDesigner.Control
28 references to Control
System.Windows.Forms.Design (28)
System\Windows\Forms\Design\DataGridViewDesigner.cs (28)
32public override ICollection AssociatedComponents => Control.Columns; 36get => Control.AutoSizeColumnsMode; 41DataGridView dataGridView = Control; 61get => Control.DataSource; 64if (Control is { AutoGenerateColumns: true, DataSource: null } dataGridView && value is not null) 76Control.DataSource = value; 90DataGridView dataGridView = Control; 124DataGridView dataGridView = Control; 146Control.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; 220DataGridView dataGridView = Control; 290DataGridView dataGridView = Control; 522DataGridView dataGridView = Control; 698private bool ShouldSerializeAutoSizeColumnsMode() => Control.AutoSizeColumnsMode != DataGridViewAutoSizeColumnsMode.None; 700private bool ShouldSerializeDataSource() => Control.DataSource is not null; 747dialog.SetLiveDataGridView(Control); 776() => new DataGridViewAddColumnDialog(Control.Columns, Control)); 777dialog.Start(Control.Columns.Count, persistChangesToDesigner: true); 804return dialog.ShowDialog(Control); 841DataGridView dataGridView = _owner.Control; 912get => _owner.Control.AllowUserToAddRows; 920DataGridView dataGridView = _owner.Control; 955get => _owner.Control.AllowUserToDeleteRows; 963DataGridView dataGridView = _owner.Control; 998get => _owner.Control.AllowUserToOrderColumns; 1006DataGridView dataGridView = _owner.Control; 1041get => !_owner.Control.ReadOnly; 1049DataGridView dataGridView = _owner.Control;