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. 35internal ListView? OwnerListview 263public 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)
10private readonly ListView _owner; 12public DisposingContext(ListView owner)
System\Windows\Forms\Controls\ListView\ListView.CheckedIndexCollection.cs (2)
14private readonly ListView _owner; 17public CheckedIndexCollection(ListView owner)
System\Windows\Forms\Controls\ListView\ListView.CheckedListViewItemCollection.cs (2)
14private readonly ListView _owner; 22public CheckedListViewItemCollection(ListView owner)
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (2)
14private readonly ListView _owner; 16public 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)
16internal ListViewAccessibleObject(ListView owningListView) : base(owningListView) 26if (this.IsOwnerHandleCreated(out ListView? owningListView)) 37=> this.IsOwnerHandleCreated(out ListView? listView) && listView.MultiSelect; 40=> this.TryGetOwnerAs(out ListView? owningListView) ? owningListView.Columns.Count : base.ColumnCount; 46if (!this.TryGetOwnerAs(out ListView? owningListView) || !owningListView.GroupsDisplayed) 68=> this.TryGetOwnerAs(out ListView? owningListView) ? owningListView.Items.Count : base.RowCount; 81!this.IsOwnerHandleCreated(out ListView? _) 92if (!this.IsOwnerHandleCreated(out ListView? owningListView) || index < 0) 108if (!this.IsOwnerHandleCreated(out ListView? owningListView)) 120if (!this.TryGetOwnerAs(out ListView? owningListView) || child is null) 153internal override int GetChildIndex(AccessibleObject? child) => this.TryGetOwnerAs(out ListView? owningListView) 157private string GetItemStatus() => this.TryGetOwnerAs(out ListView? owningListView) 168if (!this.TryGetOwnerAs(out ListView? owningListView)) 183=> !this.IsOwnerHandleCreated(out ListView? owningListView) 188=> this.TryGetOwnerAs(out ListView? owningListView) ? (int)owningListView.View : base.GetMultiViewProviderCurrentView(); 208if (!this.TryGetOwnerAs(out ListView? owningListView)) 230=> (VARIANT)(int)((this.TryGetOwnerAs(out ListView? owningListView) && owningListView.View == View.Details) 244if (!this.IsOwnerHandleCreated(out ListView? owningListView)) 262if (!this.TryGetOwnerAs(out ListView? owningListView)) 286if (!this.IsOwnerHandleCreated(out ListView? owningListView)) 348this.TryGetOwnerAs(out ListView? owningListView) 357if (!this.TryGetOwnerAs(out ListView? owningListView))
System\Windows\Forms\Controls\ListView\ListView.ListViewItemCollection.cs (1)
24public ListViewItemCollection(ListView owner)
System\Windows\Forms\Controls\ListView\ListView.ListViewNativeItemCollection.cs (2)
15private readonly ListView _owner; 17public ListViewNativeItemCollection(ListView owner)
System\Windows\Forms\Controls\ListView\ListView.SelectedIndexCollection.cs (2)
14private readonly ListView _owner; 17public SelectedIndexCollection(ListView owner)
System\Windows\Forms\Controls\ListView\ListView.SelectedListViewItemCollection.cs (2)
14private readonly ListView _owner; 21public 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)
27private ListView.ListViewItemCollection? _items; 88var listView = ListView ?? (Items.Count > 0 ? Items[0].ListView : null); 341public ListView.ListViewItemCollection Items => _items ??= new ListView.ListViewItemCollection(new ListViewGroupItemCollection(this)); 345public ListView? ListView { get; internal set; }
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (3)
7using static System.Windows.Forms.ListView; 15private readonly ListView _owningListView; 20public ListViewGroupAccessibleObject(ListViewGroup owningGroup, ListView listView, bool owningGroupIsDefault)
System\Windows\Forms\Controls\ListView\ListViewGroupCollection.cs (2)
15private readonly ListView _listView; 19internal 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)
8internal class ListViewGroupItemCollection : ListView.ListViewItemCollection.IInnerList
System\Windows\Forms\Controls\ListView\ListViewInsertionMark.cs (2)
13private readonly ListView _listView; 19internal ListViewInsertionMark(ListView listView)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (7)
14/// Implements an item of a <see cref="Forms.ListView"/>. 35internal ListView? _listView; 251ListView owningListView = _listView ?? Group?.ListView 598public ListView? ListView => _listView; 869ListView lv = ListView!; 994internal void Host(ListView parent, int id, int index) 1295internal void SetItemIndex(ListView listView, int index)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemBaseAccessibleObject.cs (1)
23private protected readonly ListView _owningListView;
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObject.cs (1)
16private 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)
14private readonly WeakReference<ListView> _owningListView; 16public 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) 50UIA_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)
8private readonly WeakReference<ListView> _owningListView; 10public ListViewLabelEditNativeWindow(ListView owningListView) : base(owningListView) => _owningListView = new(owningListView); 12public 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)
32if (editValue is ListView.ColumnHeaderCollection list) 51if (Context?.Instance is not ListView listview)
System\Windows\Forms\Design\DesignerUtils.cs (1)
845public static void ApplyListViewThemeStyles(ListView listView)
System\Windows\Forms\Design\ListViewActionList.cs (5)
12private readonly ListView _listView; 18_listView = (ListView)Component!; 22EditorServiceContext.EditValue(_designer, Component!, nameof(ListView.Items)); 25EditorServiceContext.EditValue(_designer, Component!, nameof(ListView.Columns)); 28EditorServiceContext.EditValue(_designer, Component!, nameof(ListView.Groups));
System\Windows\Forms\Design\ListViewDesigner.cs (9)
31ListView lv = Control as ListView; 57return ((ListView)Component).View; 61((ListView)Component).View = value; 73ListView listView = (ListView)Component; 98ListView lv = (ListView)component; 155ShowErrorDialog(Component.Site.GetService<IUIService>(), ex, (ListView)Component);
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
17private ListView _listViewCannedMasks;
System\Windows\Forms\Design\StyleEditorForm.cs (2)
65private ListView _columnsAndRowsListView; 636ListView.SelectedListViewItemCollection coll = _columnsAndRowsListView.SelectedItems;