3 types derived from VirtualizingPanel
PresentationFramework (2)
System\Windows\Controls\DataGridCellsPanel.cs (1)
26
public class DataGridCellsPanel :
VirtualizingPanel
System\Windows\Controls\VirtualizingStackPanel.cs (1)
32
public class VirtualizingStackPanel :
VirtualizingPanel
, IScrollInfo, IStackMeasure
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (1)
29
public class RibbonQuickAccessToolBarPanel :
VirtualizingPanel
116 references to VirtualizingPanel
Microsoft.VisualStudio.LanguageServices (2)
DocumentOutline\VirtualizingTreeView.cs (2)
19
VirtualizingPanel
.SetIsVirtualizing(this, true);
20
VirtualizingPanel
.SetVirtualizationMode(this, VirtualizationMode.Recycling);
PresentationFramework (114)
System\Windows\Automation\Peers\GridViewAutomationPeer.cs (2)
215
VirtualizingPanel
itemsHost = _listview.ItemsHost as
VirtualizingPanel
;
System\Windows\Automation\Peers\ItemAutomationPeer.cs (2)
756
if (
VirtualizingPanel
.GetIsVirtualizingWhenGrouping(parent))
775
if (
VirtualizingPanel
.GetIsVirtualizingWhenGrouping(parent))
System\Windows\Controls\DataGrid.cs (4)
47
VirtualizingPanel
.IsVirtualizingProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true, null, new CoerceValueCallback(OnCoerceIsVirtualizingProperty)));
48
VirtualizingPanel
.VirtualizationModeProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(VirtualizationMode.Recycling));
6133
if (
VirtualizingPanel
.GetScrollUnit(this) == ScrollUnit.Item && !IsGrouping)
8072
dataGrid.CoerceValue(
VirtualizingPanel
.IsVirtualizingProperty);
System\Windows\Controls\DataGridCellsPanel.cs (2)
1874
IsVirtualizing =
VirtualizingPanel
.GetIsVirtualizing(parentPresenter);
1875
InRecyclingMode = (
VirtualizingPanel
.GetVirtualizationMode(parentPresenter) == VirtualizationMode.Recycling);
System\Windows\Controls\DataGridRow.cs (2)
111
VirtualizingPanel
.ShouldCacheContainerSizeProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceShouldCacheContainerSize)));
473
CoerceValue(
VirtualizingPanel
.ShouldCacheContainerSizeProperty);
System\Windows\Controls\GridViewRowPresenter.cs (1)
458
if (itemsControl.ItemsHost is
VirtualizingPanel
&&
System\Windows\Controls\GroupItem.cs (7)
65
if (itemsControl != null &&
VirtualizingPanel
.GetIsVirtualizingWhenGrouping(itemsControl))
80
if (itemsControl != null &&
VirtualizingPanel
.GetIsVirtualizing(itemsControl) &&
VirtualizingPanel
.GetVirtualizationMode(itemsControl) == VirtualizationMode.Recycling)
163
bool isVirtualizingWhenGrouping = (parentItemsControl != null &&
VirtualizingPanel
.GetIsVirtualizingWhenGrouping(parentItemsControl));
244
if (parentItemsControl != null &&
VirtualizingPanel
.GetIsVirtualizingWhenGrouping(parentItemsControl))
257
VirtualizingPanel
vp = _itemsHost as
VirtualizingPanel
;
System\Windows\Controls\ItemsControl.cs (13)
58
this.CoerceValue(
VirtualizingPanel
.CacheLengthUnitProperty);
68
VirtualizingPanel
.CacheLengthProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCacheSizeChanged)));
69
VirtualizingPanel
.CacheLengthUnitProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCacheSizeChanged), new CoerceValueCallback(CoerceVirtualizationCacheLengthUnit)));
939
CoerceValue(
VirtualizingPanel
.CacheLengthUnitProperty);
1846
VirtualizingPanel
itemsHost = ItemsHost as
VirtualizingPanel
;
2025
VirtualizingPanel
virtualizingPanel = ItemsHost as
VirtualizingPanel
;
2034
VirtualizingPanel
.GetIsVirtualizing(this))
2632
if (
VirtualizingPanel
.GetScrollUnit(this) != ScrollUnit.Item)
2682
VirtualizingPanel
virtualizingPanel = ItemsHost as
VirtualizingPanel
;
2798
VirtualizingPanel
.GetScrollUnit(this) == ScrollUnit.Item &&
System\Windows\Controls\ItemsPresenter.cs (1)
243
if (
VirtualizingPanel
.GetIsVirtualizingWhenGrouping(owner))
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (8)
45
VirtualizingPanel
.IsVirtualizingProperty.OverrideMetadata(
48
VirtualizingPanel
.VirtualizationModeProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(VirtualizationMode.Recycling));
111
DataGridHelper.TransferProperty(this,
VirtualizingPanel
.IsVirtualizingProperty);
421
DataGridHelper.TransferProperty(this,
VirtualizingPanel
.IsVirtualizingProperty);
503
DataGridHelper.TransferProperty(cellsPresenter,
VirtualizingPanel
.IsVirtualizingProperty);
504
if (e.OldValue != cellsPresenter.GetValue(
VirtualizingPanel
.IsVirtualizingProperty))
519
VirtualizingPanel
.IsVirtualizingProperty,
564
if (withColumnVirtualization ==
VirtualizingPanel
.GetIsVirtualizing(this))
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (8)
46
VirtualizingPanel
.IsVirtualizingProperty.OverrideMetadata(
50
VirtualizingPanel
.VirtualizationModeProperty.OverrideMetadata(
78
DataGridHelper.TransferProperty(this,
VirtualizingPanel
.IsVirtualizingProperty);
329
DataGridHelper.TransferProperty(this,
VirtualizingPanel
.IsVirtualizingProperty);
377
DataGridHelper.TransferProperty(headersPresenter,
VirtualizingPanel
.IsVirtualizingProperty);
378
if (e.OldValue != headersPresenter.GetValue(
VirtualizingPanel
.IsVirtualizingProperty))
393
VirtualizingPanel
.IsVirtualizingProperty,
421
if (withColumnVirtualization ==
VirtualizingPanel
.GetIsVirtualizing(this))
System\Windows\Controls\ScrollUnit.cs (1)
13
/// Used by <see cref="
VirtualizingPanel
.ScrollUnitProperty" />.
System\Windows\Controls\TreeView.cs (1)
36
VirtualizingPanel
.IsVirtualizingProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\TreeViewItem.cs (11)
36
VirtualizingPanel
.IsVirtualizingProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
905
if (
VirtualizingPanel
.GetIsVirtualizing(parentItemsControl))
913
if (
VirtualizingPanel
.GetIsVirtualizing(parentItemsControl))
931
VirtualizingPanel
vp = ItemsHost as
VirtualizingPanel
;
947
SynchronizeValue(
VirtualizingPanel
.IsVirtualizingProperty, parent, element);
948
SynchronizeValue(
VirtualizingPanel
.IsVirtualizingWhenGroupingProperty, parent, element);
949
SynchronizeValue(
VirtualizingPanel
.VirtualizationModeProperty, parent, element);
950
SynchronizeValue(
VirtualizingPanel
.ScrollUnitProperty, parent, element);
1036
VirtualizingPanel
virtualizingPanel = item.ItemsHost as
VirtualizingPanel
;
System\Windows\Controls\VirtualizationMode.cs (1)
13
/// Used by <see cref="
VirtualizingPanel
.VirtualizationModeProperty" />.
System\Windows\Controls\VirtualizingPanel.cs (10)
61
DependencyProperty.RegisterAttached("IsVirtualizing", typeof(bool), typeof(
VirtualizingPanel
),
95
DependencyProperty.RegisterAttached("VirtualizationMode", typeof(VirtualizationMode), typeof(
VirtualizingPanel
),
127
DependencyProperty.RegisterAttached("IsVirtualizingWhenGrouping", typeof(bool), typeof(
VirtualizingPanel
),
159
DependencyProperty.RegisterAttached("ScrollUnit", typeof(ScrollUnit), typeof(
VirtualizingPanel
),
192
DependencyProperty.RegisterAttached("CacheLength", typeof(VirtualizationCacheLength), typeof(
VirtualizingPanel
),
227
DependencyProperty.RegisterAttached("CacheLengthUnit", typeof(VirtualizationCacheLengthUnit), typeof(
VirtualizingPanel
),
259
DependencyProperty.RegisterAttached("IsContainerVirtualizable", typeof(bool), typeof(
VirtualizingPanel
),
291
DependencyProperty.RegisterAttached("ShouldCacheContainerSize", typeof(bool), typeof(
VirtualizingPanel
),
365
dp ==
VirtualizingPanel
.IsVirtualizingWhenGroupingProperty ||
367
dp ==
VirtualizingPanel
.ScrollUnitProperty)
System\Windows\Controls\VirtualizingStackPanel.cs (31)
794
d.SetCurrentValue(
VirtualizingPanel
.IsContainerVirtualizableProperty, false);
1104
element.InvalidateProperty(
VirtualizingPanel
.IsContainerVirtualizableProperty);
1670
VirtualizingPanel
itemsHost = groupItem.ItemsHost as
VirtualizingPanel
;
1735
if (!itemsControl.IsGrouping &&
VirtualizingPanel
.GetScrollUnit(itemsControl) == ScrollUnit.Item)
1765
VirtualizingPanel
.IsVirtualizingProperty;
1774
VirtualizingPanel
.VirtualizationModeProperty;
3751
VirtualizingPanel
vp = VisualTreeHelper.GetParent(itemsOwner) as
VirtualizingPanel
;
3991
VirtualizationCacheLength cacheLength =
VirtualizingPanel
.GetCacheLength(this);
3992
VirtualizationCacheLengthUnit cacheUnit =
VirtualizingPanel
.GetCacheLengthUnit(this);
4105
VirtualizingPanel
virtualizingPanel = VisualTreeHelper.GetParent(element) as
VirtualizingPanel
;
4128
VirtualizingPanel
virtualizingPanel = virtualizingChild.ItemsHost as
VirtualizingPanel
;
7484
if (child != null &&
VirtualizingPanel
.GetShouldCacheContainerSize(child))
7636
if (child != null &&
VirtualizingPanel
.GetShouldCacheContainerSize(child))
8371
if (
VirtualizingPanel
.GetShouldCacheContainerSize(child))
8809
VirtualizingPanel
.InsertInternalChild(children, insertIndex, container);
8822
VirtualizingPanel
.AddInternalChild(children, container);
9014
VirtualizingPanel
.RemoveInternalChildRange(children, pos, uiCount);
9169
VirtualizingPanel
.GetIsContainerVirtualizable(child))
9500
VirtualizingPanel
.RemoveInternalChildRange((UIElementCollection)children, startIndex, count);
11064
VirtualizingPanel
vp = itemsHost as
VirtualizingPanel
;
12368
"IsVirt:",
VirtualizingPanel
.GetIsVirtualizing(ic),
12369
"IsVirtWhenGroup:",
VirtualizingPanel
.GetIsVirtualizingWhenGrouping(ic),
12370
"VirtMode:",
VirtualizingPanel
.GetVirtualizationMode(ic),
12371
"ScrollUnit:",
VirtualizingPanel
.GetScrollUnit(ic),
12372
"CacheLen:",
VirtualizingPanel
.GetCacheLength(ic),
VirtualizingPanel
.GetCacheLengthUnit(ic));
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
827
case 731: t = () => typeof(
VirtualizingPanel
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (6)
6201
Type type = typeof(System.Windows.Controls.
VirtualizingPanel
);
6203
this.GetXamlType(typeof(System.Windows.Controls.
VirtualizingPanel
)), // DeclaringType
6209
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.
VirtualizingPanel
)target).Children; };
7939
Type type = typeof(System.Windows.Controls.
VirtualizingPanel
);
7940
DependencyProperty dp = System.Windows.Controls.
VirtualizingPanel
.IsVirtualizingProperty;
7942
this.GetXamlType(typeof(System.Windows.Controls.
VirtualizingPanel
)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11176
typeof(System.Windows.Controls.
VirtualizingPanel
),
System\Windows\Markup\KnownTypes.cs (1)
6285
case KnownElements.VirtualizingPanel: t = typeof(System.Windows.Controls.
VirtualizingPanel
); break;