16 references to Items
System.Windows.Forms (16)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (13)
615
this.
Items
.SortInternal();
826
if ((this.HasItems || this.CreateItemsFromDataSource) && this.
Items
.Count > 0)
828
foreach (object item in this.
Items
)
878
if (this.HasItems && this.DataSource == null && this.
Items
.Count > 0)
880
dataGridViewCell.
Items
.AddRangeInternal(this.
Items
.InnerArray.ToArray());
1209
if (!this.
Items
.Contains(value) &&
1225
if (this.
Items
.Count > 0)
1227
value = this.
Items
[0];
1550
if (this.HasItems && this.DataSource == null && this.
Items
.Count > 0)
1552
comboBox.Items.AddRange(this.
Items
.InnerArray.ToArray());
1719
foreach (object itemCandidate in this.
Items
)
1747
if (item == null && this.
Items
.Contains(key))
winforms\Managed\System\WinForms\DataGridViewComboBoxColumn.cs (3)
527
object[] items = ((DataGridViewComboBoxCell)this.CellTemplate).
Items
.InnerArray.ToArray();
534
dataGridViewCell.
Items
.ClearInternal();
535
dataGridViewCell.
Items
.AddRangeInternal(items);