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