23 references to DropDownListBox
System.Windows.Forms (23)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (22)
336
=>
DropDownListBox
.Visible ?
DropDownListBox
.AccessibilityObject : null;
756
if (_dropDownHolder.Component ==
DropDownListBox
&& _flags.HasFlag(Flags.DropDownCommit))
2240
if (!
DropDownListBox
.InSetSelectedIndex())
2243
EditTextBox.Text = gridEntry?.GetPropertyTextValue(
DropDownListBox
.SelectedItem);
2260
if (
DropDownListBox
.Items.Count == 0)
2269
object? value =
DropDownListBox
.SelectedItem;
2290
string text = (string)
DropDownListBox
.Items[e.Index];
2313
if (
DropDownListBox
.IsHandleCreated)
2315
DropDownListBox
.Visible = false;
3681
DropDownListBox
.Items.Clear();
3688
using GetDcScope hdc = new(
DropDownListBox
.HWND);
3706
DropDownListBox
.Items.Add(value);
3720
DropDownListBox
.SelectedIndex = selectionIndex;
3724
DropDownListBox
.Height = Math.Max(tm.tmHeight + 2, Math.Min(_maxListBoxHeight,
DropDownListBox
.PreferredHeight));
3725
DropDownListBox
.Width = Math.Max(maxWidth, GetRectangle(row, RowValue).Width);
3728
bool resizable =
DropDownListBox
.Items.Count > (
DropDownListBox
.Height /
DropDownListBox
.ItemHeight);
3730
DropDownControl(
DropDownListBox
);
5134
DropDownListBox
.ItemHeight = RowHeight + 2;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.DropDownHolderAccessibleObject.cs (1)
42
when selectedEntry.Enumerable && _owningDropDownHolder.Component == gridView!.
DropDownListBox