2 instantiations of ListView
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
124
_listViewCannedMasks = new
ListView
();
System\Windows\Forms\Design\StyleEditorForm.cs (1)
165
_columnsAndRowsListView = new
ListView
();
124 references to ListView
System.Windows.Forms (104)
System\Windows\Forms\Controls\ListView\CacheVirtualItemsEventHandler.cs (2)
7
/// Represents a method that will handle the <see cref="
ListView
.CacheVirtualItems"/> event of a <see cref="
ListView
"/>.
System\Windows\Forms\Controls\ListView\ColumnClickEventArgs.cs (1)
7
/// Provides data for the <see cref="
ListView
.OnColumnClick"/> event.
System\Windows\Forms\Controls\ListView\ColumnClickEventHandler.cs (1)
7
/// Represents a method that will handle the <see cref="
ListView
.OnColumnClick"/> event.
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (3)
10
/// Displays a single column header in a <see cref="Forms.
ListView
"/> control.
35
internal
ListView
? OwnerListview
263
public
ListView
? ListView { get; private set; }
System\Windows\Forms\Controls\ListView\ColumnHeaderAutoResizeStyle.cs (1)
7
/// Specifies how the column headers are autoresized in a <see cref="
ListView
"/>
System\Windows\Forms\Controls\ListView\ColumnHeaderStyle.cs (1)
7
/// Specifies how <see cref="
ListView
"/> column headers
System\Windows\Forms\Controls\ListView\LabelEditEventArgs.cs (1)
7
/// Provides data for the <see cref="
ListView
.LabelEdit"/> event.
System\Windows\Forms\Controls\ListView\LabelEditEventHandler.cs (1)
7
/// Represents a method that will handle the <see cref="
ListView
.LabelEdit"/> event.
System\Windows\Forms\Controls\ListView\LisstView.DisposingContext.cs (2)
10
private readonly
ListView
_owner;
12
public DisposingContext(
ListView
owner)
System\Windows\Forms\Controls\ListView\ListView.CheckedIndexCollection.cs (2)
14
private readonly
ListView
_owner;
17
public CheckedIndexCollection(
ListView
owner)
System\Windows\Forms\Controls\ListView\ListView.CheckedListViewItemCollection.cs (2)
14
private readonly
ListView
_owner;
22
public CheckedListViewItemCollection(
ListView
owner)
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (2)
14
private readonly
ListView
_owner;
16
public ColumnHeaderCollection(
ListView
owner)
System\Windows\Forms\Controls\ListView\ListView.cs (3)
924
/// contains icons to use when displaying groups. The <see cref="
ListView
"/> control can accept any graphics
925
/// format that the <see cref="ImageList"/> control supports when displaying icons. The <see cref="
ListView
"/>
928
/// in the <see cref="
ListView
"/> control to the index position of the appropriate image in the <see cref="ImageList"/>.
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (22)
16
internal ListViewAccessibleObject(
ListView
owningListView) : base(owningListView)
26
if (this.IsOwnerHandleCreated(out
ListView
? owningListView))
37
=> this.IsOwnerHandleCreated(out
ListView
? listView) && listView.MultiSelect;
40
=> this.TryGetOwnerAs(out
ListView
? owningListView) ? owningListView.Columns.Count : base.ColumnCount;
46
if (!this.TryGetOwnerAs(out
ListView
? owningListView) || !owningListView.GroupsDisplayed)
68
=> this.TryGetOwnerAs(out
ListView
? owningListView) ? owningListView.Items.Count : base.RowCount;
81
!this.IsOwnerHandleCreated(out
ListView
? _)
92
if (!this.IsOwnerHandleCreated(out
ListView
? owningListView) || index < 0)
108
if (!this.IsOwnerHandleCreated(out
ListView
? owningListView))
120
if (!this.TryGetOwnerAs(out
ListView
? owningListView) || child is null)
153
internal override int GetChildIndex(AccessibleObject? child) => this.TryGetOwnerAs(out
ListView
? owningListView)
157
private string GetItemStatus() => this.TryGetOwnerAs(out
ListView
? owningListView)
168
if (!this.TryGetOwnerAs(out
ListView
? owningListView))
183
=> !this.IsOwnerHandleCreated(out
ListView
? owningListView)
188
=> this.TryGetOwnerAs(out
ListView
? owningListView) ? (int)owningListView.View : base.GetMultiViewProviderCurrentView();
208
if (!this.TryGetOwnerAs(out
ListView
? owningListView))
230
=> (VARIANT)(int)((this.TryGetOwnerAs(out
ListView
? owningListView) && owningListView.View == View.Details)
244
if (!this.IsOwnerHandleCreated(out
ListView
? owningListView))
262
if (!this.TryGetOwnerAs(out
ListView
? owningListView))
286
if (!this.IsOwnerHandleCreated(out
ListView
? owningListView))
348
this.TryGetOwnerAs(out
ListView
? owningListView)
357
if (!this.TryGetOwnerAs(out
ListView
? owningListView))
System\Windows\Forms\Controls\ListView\ListView.ListViewItemCollection.cs (1)
24
public ListViewItemCollection(
ListView
owner)
System\Windows\Forms\Controls\ListView\ListView.ListViewNativeItemCollection.cs (2)
15
private readonly
ListView
_owner;
17
public ListViewNativeItemCollection(
ListView
owner)
System\Windows\Forms\Controls\ListView\ListView.SelectedIndexCollection.cs (2)
14
private readonly
ListView
_owner;
17
public SelectedIndexCollection(
ListView
owner)
System\Windows\Forms\Controls\ListView\ListView.SelectedListViewItemCollection.cs (2)
14
private readonly
ListView
_owner;
21
public SelectedListViewItemCollection(
ListView
owner)
System\Windows\Forms\Controls\ListView\ListViewAlignment.cs (3)
7
/// Specifies how items align in the <see cref="
ListView
"/>.
17
/// Items are aligned to the top of the <see cref="
ListView
"/> control.
22
/// Items are aligned to the left of the <see cref="
ListView
"/> control.
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (5)
27
private
ListView
.ListViewItemCollection? _items;
88
var
listView = ListView ?? (Items.Count > 0 ? Items[0].ListView : null);
341
public
ListView
.ListViewItemCollection Items => _items ??= new
ListView
.ListViewItemCollection(new ListViewGroupItemCollection(this));
345
public
ListView
? ListView { get; internal set; }
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (3)
7
using static System.Windows.Forms.
ListView
;
15
private readonly
ListView
_owningListView;
20
public ListViewGroupAccessibleObject(ListViewGroup owningGroup,
ListView
listView, bool owningGroupIsDefault)
System\Windows\Forms\Controls\ListView\ListViewGroupCollection.cs (2)
15
private readonly
ListView
_listView;
19
internal ListViewGroupCollection(
ListView
listView)
System\Windows\Forms\Controls\ListView\ListViewGroupEventArgs.cs (2)
7
/// Provides data for the <see cref="
ListView
.OnGroupCollapsedStateChanged"/> and
8
/// <see cref="
ListView
.OnGroupTaskLinkClick"/> event.
System\Windows\Forms\Controls\ListView\ListViewGroupImageIndexer.cs (2)
25
/// Gets the <see cref="
ListView
.GroupImageList"/> of the <see cref="
ListView
"/>
System\Windows\Forms\Controls\ListView\ListViewGroupItemCollection.cs (1)
8
internal class ListViewGroupItemCollection :
ListView
.ListViewItemCollection.IInnerList
System\Windows\Forms\Controls\ListView\ListViewInsertionMark.cs (2)
13
private readonly
ListView
_listView;
19
internal ListViewInsertionMark(
ListView
listView)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (7)
14
/// Implements an item of a <see cref="Forms.
ListView
"/>.
35
internal
ListView
? _listView;
251
ListView
owningListView = _listView ?? Group?.ListView
598
public
ListView
? ListView => _listView;
869
ListView
lv = ListView!;
994
internal void Host(
ListView
parent, int id, int index)
1295
internal void SetItemIndex(
ListView
listView, int index)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemBaseAccessibleObject.cs (1)
23
private protected readonly
ListView
_owningListView;
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObject.cs (1)
16
private readonly
ListView
_owningListView;
System\Windows\Forms\Controls\ListView\ListViewItemMouseHoverEventArgs.cs (1)
7
/// Provides data for the <see cref="
ListView
.OnItemMouseHover"/> event.
System\Windows\Forms\Controls\ListView\ListViewItemMouseHoverEventHandler.cs (1)
7
/// Represents a method that will handle the <see cref="
ListView
.ItemMouseHover"/> event.
System\Windows\Forms\Controls\ListView\ListViewItemSelectionChangedEventHandler.cs (1)
7
/// Represents a method that will handle the <see cref="
ListView
.ItemSelectionChanged"/> event.
System\Windows\Forms\Controls\ListView\ListViewLabelEditAccessibleObject.cs (8)
14
private readonly WeakReference<
ListView
> _owningListView;
16
public ListViewLabelEditAccessibleObject(
ListView
owningListView, ListViewLabelEditNativeWindow labelEdit) : base(owningListView, labelEdit)
25
_owningListView.TryGetTarget(out
ListView
? target)
30
_owningListView.TryGetTarget(out
ListView
? target)
37
_owningListView.TryGetTarget(out
ListView
? target)
50
UIA_PROPERTY_ID.UIA_IsEnabledPropertyId => _owningListView.TryGetTarget(out
ListView
? target) ? (VARIANT)target.Enabled : VARIANT.False,
58
=> _owningListView.TryGetTarget(out
ListView
? target) && target.View == View.Tile ? target._selectedItem?.SubItems[1].AccessibilityObject : null,
63
_owningListView.TryGetTarget(out
ListView
? target)
System\Windows\Forms\Controls\ListView\ListViewLabelEditNativeWindow.cs (3)
8
private readonly WeakReference<
ListView
> _owningListView;
10
public ListViewLabelEditNativeWindow(
ListView
owningListView) : base(owningListView) => _owningListView = new(owningListView);
12
public override AccessibleObject? AccessibilityObject => _owningListView.TryGetTarget(out
ListView
? target) ? new ListViewLabelEditAccessibleObject(target, this) : null;
System\Windows\Forms\Controls\ListView\ListViewVirtualItemsSelectionRangeChangedEventHandler.cs (1)
7
/// Represents a method that will handle the <see cref="
ListView
.VirtualItemsSelectionRangeChanged"/> event.
System\Windows\Forms\Controls\ListView\RetrieveVirtualItemEventHandler.cs (2)
7
/// Represents a method that will handle the <see cref="
ListView
.RetrieveVirtualItem"/> event
8
/// of a <see cref="
ListView
"/>.
System\Windows\Forms\Controls\ListView\View.cs (1)
7
/// Specifies how list items are displayed in a <see cref="
ListView
"/> control.
System\Windows\Forms\ItemCheckedEventHandler.cs (1)
8
/// event of a <see cref="CheckedListBox"/> or <see cref="
ListView
"/>.
System\Windows\Forms\ItemCheckEventHandler.cs (1)
8
/// event of a <see cref="CheckedListBox"/> or <see cref="
ListView
"/>.
System\Windows\Forms\OLE\ItemDragEventArgs.cs (1)
7
/// Provides data for the <see cref="
ListView
.OnItemDrag"/> event.
System\Windows\Forms\OLE\ItemDragEventHandler.cs (2)
7
/// Represents a method that will handle the <see cref="
ListView
.OnItemDrag"/>
8
/// event of a <see cref="
ListView
"/>.
System\Windows\Forms\ToolTip\ToolTip.cs (1)
832
|| (control is
ListView
lv && lv.ShowItemToolTips))
System.Windows.Forms.Design (20)
System\Windows\Forms\Design\ColumnHeaderCollectionEditor.cs (2)
32
if (editValue is
ListView
.ColumnHeaderCollection list)
51
if (Context?.Instance is not
ListView
listview)
System\Windows\Forms\Design\DesignerUtils.cs (1)
845
public static void ApplyListViewThemeStyles(
ListView
listView)
System\Windows\Forms\Design\ListViewActionList.cs (5)
12
private readonly
ListView
_listView;
18
_listView = (
ListView
)Component!;
22
EditorServiceContext.EditValue(_designer, Component!, nameof(
ListView
.Items));
25
EditorServiceContext.EditValue(_designer, Component!, nameof(
ListView
.Columns));
28
EditorServiceContext.EditValue(_designer, Component!, nameof(
ListView
.Groups));
System\Windows\Forms\Design\ListViewDesigner.cs (9)
31
ListView
lv = Control as
ListView
;
57
return ((
ListView
)Component).View;
61
((
ListView
)Component).View = value;
73
ListView
listView = (
ListView
)Component;
98
ListView
lv = (
ListView
)component;
155
ShowErrorDialog(Component.Site.GetService<IUIService>(), ex, (
ListView
)Component);
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
17
private
ListView
_listViewCannedMasks;
System\Windows\Forms\Design\StyleEditorForm.cs (2)
65
private
ListView
_columnsAndRowsListView;
636
ListView
.SelectedListViewItemCollection coll = _columnsAndRowsListView.SelectedItems;