5 types derived from ListBox
System.Windows.Forms (2)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
17
public partial class CheckedListBox :
ListBox
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewListBox.cs (1)
8
internal class GridViewListBox :
ListBox
System.Windows.Forms.Design (3)
System\ComponentModel\Design\CollectionEditor.FilterListBox.cs (1)
13
internal class FilterListBox :
ListBox
System\Drawing\Design\ColorEditor.ColorUI.ColorEditorListBox.cs (1)
12
private sealed class ColorEditorListBox :
ListBox
System\Drawing\Design\CursorEditor.CursorUI.cs (1)
15
private class CursorUI :
ListBox
9 instantiations of ListBox
PresentationUI (2)
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (1)
46
this._credListBox = new System.Windows.Forms.
ListBox
();
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (1)
44
_listBoxSummary = new System.Windows.Forms.
ListBox
();
System.Windows.Forms (1)
System\Windows\Forms\MDI\MDIWindowDialog.cs (1)
92
_itemList = new
ListBox
();
System.Windows.Forms.Design (6)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
51
ListBox listBox = new
ListBox
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
271
_dataColumns = new
ListBox
();
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
473
_selectedColumns = new
ListBox
();
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.Picker.cs (1)
27
_typesListBox =
new
();
System\Windows\Forms\Design\FormatControl.Designer.cs (2)
46
dateTimeFormatsListBox = new System.Windows.Forms.
ListBox
();
48
formatTypeListBox = new System.Windows.Forms.
ListBox
();
68 references to ListBox
PresentationUI (2)
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (1)
193
private System.Windows.Forms.
ListBox
_credListBox;
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (1)
234
private System.Windows.Forms.
ListBox
_listBoxSummary;
System.Windows.Forms (41)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedListBoxAccessibleObject.cs (1)
13
private protected override ListBoxItemAccessibleObject CreateItemAccessibleObject(
ListBox
listBox, ItemArray.Entry item)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (3)
159
/// Collection of items in this <see cref="
ListBox
"/>
361
protected override
ListBox
.ObjectCollection CreateItemCollection()
385
/// Invalidates the given item in the <see cref="
ListBox
"/>
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.ObjectCollection.cs (1)
8
public new class ObjectCollection :
ListBox
.ObjectCollection
System\Windows\Forms\Controls\ListBoxes\ListBox.AccessibleObject.cs (19)
24
public ListBoxAccessibleObject(
ListBox
owningListBox) : base(owningListBox)
31
internal override Rectangle BoundingRectangle => this.IsOwnerHandleCreated(out
ListBox
? owner) ?
37
=> this.IsOwnerHandleCreated(out
ListBox
? owner) && owner.SelectionMode != SelectionMode.None;
40
=> this.IsOwnerHandleCreated(out
ListBox
? owner)
49
if (this.TryGetOwnerAs(out
ListBox
? owner) && owner.Focused)
58
private protected virtual ListBoxItemAccessibleObject CreateItemAccessibleObject(
ListBox
listBox, ItemArray.Entry item)
63
if (!this.IsOwnerHandleCreated(out
ListBox
? _))
80
int childCount = this.TryGetOwnerAs(out
ListBox
? owner) ? owner.Items.Count : 0;
95
internal override IRawElementProviderFragment.Interface? GetFocus() => this.IsOwnerHandleCreated(out
ListBox
? _) ? GetFocused() : null;
106
UIA_PROPERTY_ID.UIA_HasKeyboardFocusPropertyId => this.TryGetOwnerAs(out
ListBox
? owner)
121
=> this.TryGetOwnerAs(out
ListBox
? _) || base.IsIAccessibleExSupported();
143
if (!this.TryGetOwnerAs(out
ListBox
? owner))
168
if (this.IsOwnerHandleCreated(out
ListBox
? owner))
176
if (!this.IsOwnerHandleCreated(out
ListBox
? _))
188
if (!this.TryGetOwnerAs(out
ListBox
? owner))
216
return this.TryGetOwnerAs(out
ListBox
? owner) ? owner.Items.Count : 0;
221
if (this.TryGetOwnerAs(out
ListBox
? owner))
235
if (this.TryGetOwnerAs(out
ListBox
? owner))
250
if (!this.IsOwnerHandleCreated(out
ListBox
? _))
System\Windows\Forms\Controls\ListBoxes\ListBox.IntegerCollection.cs (2)
13
private readonly
ListBox
_owner;
17
public IntegerCollection(
ListBox
owner)
System\Windows\Forms\Controls\ListBoxes\ListBox.ItemAccessibleObject.cs (2)
19
private readonly
ListBox
_owningListBox;
21
public ListBoxItemAccessibleObject(
ListBox
owningListBox, ItemArray.Entry itemEntry, ListBoxAccessibleObject owningAccessibleObject)
System\Windows\Forms\Controls\ListBoxes\ListBox.ObjectCollection.cs (4)
20
private readonly
ListBox
_owner;
23
public ObjectCollection(
ListBox
owner)
31
public ObjectCollection(
ListBox
owner, ObjectCollection value)
42
public ObjectCollection(
ListBox
owner, object[] value)
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedIndexCollection.cs (2)
13
private readonly
ListBox
_owner;
15
public SelectedIndexCollection(
ListBox
owner)
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedObjectCollection.cs (2)
17
private readonly
ListBox
_owner;
22
public SelectedObjectCollection(
ListBox
owner)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewListBoxAccessibleObject.cs (1)
14
private class GridViewListBoxAccessibleObject :
ListBox
.ListBoxAccessibleObject
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewListBoxItemAccessibleObject.cs (1)
5
using static System.Windows.Forms.
ListBox
;
System\Windows\Forms\Controls\TreeView\TreeView.TreeViewAccessibleObject.cs (1)
17
internal override Rectangle BoundingRectangle => this.IsOwnerHandleCreated(out
ListBox
? owner) ?
System\Windows\Forms\MDI\MDIWindowDialog.cs (1)
8
private
ListBox
_itemList;
System\Windows\Forms\Rendering\DrawItemEventArgs.cs (1)
9
/// This event is fired by owner drawn <see cref="Control"/> objects, such as <see cref="
ListBox
"/> and
System.Windows.Forms.Design (25)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
51
ListBox
listBox = new ListBox
System\Drawing\Design\ColorEditor.ColorUI.cs (4)
24
private
ListBox
_lbSystem;
25
private
ListBox
_lbCommon;
243
if (sender is
ListBox
lb && lb.SelectedItem is Color selectedColor)
253
if (sender is not
ListBox
lb)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
17
private
ListBox
_dataColumns;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
14
private
ListBox
_selectedColumns;
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.Picker.cs (1)
15
private readonly
ListBox
_typesListBox;
System\Windows\Forms\Design\FormatControl.Designer.cs (2)
199
private System.Windows.Forms.
ListBox
formatTypeListBox;
207
private System.Windows.Forms.
ListBox
dateTimeFormatsListBox;
System\Windows\Forms\Design\ListBoxDesigner.cs (13)
25
ListBox
listBox = (
ListBox
)Component;
39
return ((
ListBox
)Component).Dock;
43
ListBox
listBox = (
ListBox
)Component;
103
if (component is
ListBox
listBox)
123
((
ListBox
)Component).FormattingEnabled = true;
128
if (TypeDescriptorHelper.TryGetPropertyValue(Component, nameof(
ListBox
.Name), out string? name)
155
&& e.Member.Name == nameof(
ListBox
.Items)
156
&& TypeDescriptorHelper.TryGetPropertyValue(Component, nameof(
ListBox
.Name), out string? name)
170
if (TypeDescriptorHelper.TryGetPropertyValue(Component, nameof(
ListBox
.Name), out string? name)
183
ListBox
listBox = (
ListBox
)Control;
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (2)
659
if (sender is
ListBox
listBox)
849
/// Invalidate the <see cref="
ListBox
"/> and the SelectedItemName Label on top of the propertyGrid.