87 references to VirtualMode
System.Windows.Forms (87)
winforms\Managed\System\WinForms\ListView.cs (80)
747
if (
VirtualMode
)
950
return this.ShowGroups && groups != null && groups.Count > 0 && ComctlSupportsVisualStyles && !
VirtualMode
;
1235
if (!this.
VirtualMode
) {
1785
if (value == View.Tile &&
VirtualMode
) {
1828
bool keepTopItem = this.IsHandleCreated &&
VirtualMode
&& this.View == View.Details && !this.DesignMode;
1836
if (IsHandleCreated &&
VirtualMode
&& !DesignMode)
1866
if (value ==
VirtualMode
)
2252
if (!
VirtualMode
&& sorting != SortOrder.None) {
3160
if (
VirtualMode
) {
3391
if (index < 0 || ((this.
VirtualMode
&& index >= this.VirtualListSize) || (!this.
VirtualMode
&& index >= itemCount))) {
3841
if (!
VirtualMode
) {
4035
if (!this.
VirtualMode
&& (null != sender) && (sender == imageListLarge) && IsHandleCreated) {
4229
if (!
VirtualMode
&& IsHandleCreated && AutoArrange) {
4287
if (
VirtualMode
) {
4339
if (
VirtualMode
&& VirtualListSize > -1 && !DesignMode) {
4350
if (!
VirtualMode
) {
4362
if (!this.CheckBoxes && !this.
VirtualMode
) {
4379
if (!Disposing && !
VirtualMode
) {
4388
if (SelectedItems != null && !
VirtualMode
) {
4669
if (this.
VirtualMode
)
5050
if (index < 0 || ((this.
VirtualMode
&& index >= this.VirtualListSize) || (!this.
VirtualMode
&& index >= itemCount))) {
5063
if (index < 0 || ((this.
VirtualMode
&& index >= this.VirtualListSize) || (!this.
VirtualMode
&& index >= itemCount))) {
5076
if (
VirtualMode
)
5090
if (index < -1 || ((this.
VirtualMode
&& index >= this.VirtualListSize) || (!this.
VirtualMode
&& index >= itemCount))) {
5173
if (
VirtualMode
) {
5213
if (Items.Count > 0 && !
VirtualMode
) {
5225
if (!
VirtualMode
&& IsHandleCreated && AutoArrange && (View == View.LargeIcon || View == View.SmallIcon)) {
5332
if (IsHandleCreated && ComctlSupportsVisualStyles && !
VirtualMode
) {
5374
if (!
VirtualMode
) {
5926
if (this.
VirtualMode
&& nmlv->iItem == -1)
6015
if (!
VirtualMode
) {
6036
if (this.
VirtualMode
&& m.LParam != IntPtr.Zero) {
6123
if (
VirtualMode
&& m.LParam != IntPtr.Zero) {
6168
if (
VirtualMode
) {
6669
if (owner.
VirtualMode
) {
6696
if (owner.
VirtualMode
) {
6709
if (owner.
VirtualMode
) {
6726
if (owner.
VirtualMode
) {
6787
if (owner.
VirtualMode
) {
6802
if (owner.
VirtualMode
) {
6819
if (owner.
VirtualMode
) {
6831
if (owner.
VirtualMode
) {
6849
if (owner.
VirtualMode
) {
6892
if (owner.
VirtualMode
) {
6936
if (owner.
VirtualMode
) {
6950
if (owner.
VirtualMode
) {
7199
if (this.owner.
VirtualMode
)
7229
if (!this.owner.
VirtualMode
)
7263
if (this.owner.
VirtualMode
)
7352
if (owner.
VirtualMode
) {
7375
if (owner.
VirtualMode
) {
7409
if (owner.
VirtualMode
) {
7434
if (owner.
VirtualMode
) {
7522
if (owner.
VirtualMode
) {
7537
if (owner.
VirtualMode
) {
7549
if (owner.
VirtualMode
) {
7559
if (owner.
VirtualMode
) {
7576
if (owner.
VirtualMode
) {
7590
if (owner.
VirtualMode
) {
7608
if (owner.
VirtualMode
) {
7624
if (owner.
VirtualMode
) {
7641
if (owner.
VirtualMode
) {
8833
if (owner.
VirtualMode
) {
8844
return owner.
VirtualMode
;
8858
if (owner.
VirtualMode
) {
8882
if (owner.
VirtualMode
) {
8899
if (owner.
VirtualMode
) {
8928
if (owner.
VirtualMode
) {
8972
if (comparer != null || (owner.Sorting != SortOrder.None) && !owner.
VirtualMode
) {
8978
Debug.Assert(!owner.
VirtualMode
, "in virtual mode, this method does not make any sense");
9083
if (owner.
VirtualMode
) {
9094
if (owner.
VirtualMode
) {
9119
Debug.Assert(!owner.
VirtualMode
, "in virtual mode, this function does not make any sense");
9129
int index = owner.
VirtualMode
? Count - 1 : IndexOf(item);
9133
if (owner.
VirtualMode
) {
9143
if (owner.
VirtualMode
) {
winforms\Managed\System\WinForms\ListViewGroupItemCollection.cs (1)
46
return group.ListView.
VirtualMode
;
winforms\Managed\System\WinForms\ListViewItem.cs (6)
636
if (!listView.
VirtualMode
) {
701
if (!listView.
VirtualMode
) {
1085
Debug.Assert(this.listView == null || !this.listView.
VirtualMode
, "ListViewItem::Host can't be used w/ a virtual item");
1086
Debug.Assert(parent == null || !parent.
VirtualMode
, "ListViewItem::Host can't be used w/ a virtual list");
1103
Debug.Assert(!this.listView.
VirtualMode
, "we need to update the group only when the user specifies the list view items in localizable forms");
1346
Debug.Assert(listView != null && listView.
VirtualMode
, "ListViewItem::SetItemIndex should be used only when the list is virtual");