3 types derived from VirtualizingPanel
PresentationFramework (2)
System\Windows\Controls\DataGridCellsPanel.cs (1)
22
public class DataGridCellsPanel :
VirtualizingPanel
System\Windows\Controls\VirtualizingStackPanel.cs (1)
27
public class VirtualizingStackPanel :
VirtualizingPanel
, IScrollInfo, IStackMeasure
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (1)
23
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)
203
VirtualizingPanel
itemsHost = _listview.ItemsHost as
VirtualizingPanel
;
System\Windows\Automation\Peers\ItemAutomationPeer.cs (2)
746
if (
VirtualizingPanel
.GetIsVirtualizingWhenGrouping(parent))
765
if (
VirtualizingPanel
.GetIsVirtualizingWhenGrouping(parent))
System\Windows\Controls\DataGrid.cs (4)
44
VirtualizingPanel
.IsVirtualizingProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true, null, new CoerceValueCallback(OnCoerceIsVirtualizingProperty)));
45
VirtualizingPanel
.VirtualizationModeProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(VirtualizationMode.Recycling));
6130
if (
VirtualizingPanel
.GetScrollUnit(this) == ScrollUnit.Item && !IsGrouping)
8069
dataGrid.CoerceValue(
VirtualizingPanel
.IsVirtualizingProperty);
System\Windows\Controls\DataGridCellsPanel.cs (2)
1870
IsVirtualizing =
VirtualizingPanel
.GetIsVirtualizing(parentPresenter);
1871
InRecyclingMode = (
VirtualizingPanel
.GetVirtualizationMode(parentPresenter) == VirtualizationMode.Recycling);
System\Windows\Controls\DataGridRow.cs (2)
107
VirtualizingPanel
.ShouldCacheContainerSizeProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceShouldCacheContainerSize)));
469
CoerceValue(
VirtualizingPanel
.ShouldCacheContainerSizeProperty);
System\Windows\Controls\GridViewRowPresenter.cs (1)
454
if (itemsControl.ItemsHost is
VirtualizingPanel
&&
System\Windows\Controls\GroupItem.cs (7)
57
if (itemsControl != null &&
VirtualizingPanel
.GetIsVirtualizingWhenGrouping(itemsControl))
72
if (itemsControl != null &&
VirtualizingPanel
.GetIsVirtualizing(itemsControl) &&
VirtualizingPanel
.GetVirtualizationMode(itemsControl) == VirtualizationMode.Recycling)
155
bool isVirtualizingWhenGrouping = (parentItemsControl != null &&
VirtualizingPanel
.GetIsVirtualizingWhenGrouping(parentItemsControl));
236
if (parentItemsControl != null &&
VirtualizingPanel
.GetIsVirtualizingWhenGrouping(parentItemsControl))
249
VirtualizingPanel
vp = _itemsHost as
VirtualizingPanel
;
System\Windows\Controls\ItemsControl.cs (13)
49
this.CoerceValue(
VirtualizingPanel
.CacheLengthUnitProperty);
59
VirtualizingPanel
.CacheLengthProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCacheSizeChanged)));
60
VirtualizingPanel
.CacheLengthUnitProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCacheSizeChanged), new CoerceValueCallback(CoerceVirtualizationCacheLengthUnit)));
930
CoerceValue(
VirtualizingPanel
.CacheLengthUnitProperty);
1837
VirtualizingPanel
itemsHost = ItemsHost as
VirtualizingPanel
;
2016
VirtualizingPanel
virtualizingPanel = ItemsHost as
VirtualizingPanel
;
2025
VirtualizingPanel
.GetIsVirtualizing(this))
2623
if (
VirtualizingPanel
.GetScrollUnit(this) != ScrollUnit.Item)
2673
VirtualizingPanel
virtualizingPanel = ItemsHost as
VirtualizingPanel
;
2789
VirtualizingPanel
.GetScrollUnit(this) == ScrollUnit.Item &&
System\Windows\Controls\ItemsPresenter.cs (1)
239
if (
VirtualizingPanel
.GetIsVirtualizingWhenGrouping(owner))
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (8)
40
VirtualizingPanel
.IsVirtualizingProperty.OverrideMetadata(
43
VirtualizingPanel
.VirtualizationModeProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(VirtualizationMode.Recycling));
106
DataGridHelper.TransferProperty(this,
VirtualizingPanel
.IsVirtualizingProperty);
416
DataGridHelper.TransferProperty(this,
VirtualizingPanel
.IsVirtualizingProperty);
498
DataGridHelper.TransferProperty(cellsPresenter,
VirtualizingPanel
.IsVirtualizingProperty);
499
if (e.OldValue != cellsPresenter.GetValue(
VirtualizingPanel
.IsVirtualizingProperty))
514
VirtualizingPanel
.IsVirtualizingProperty,
559
if (withColumnVirtualization ==
VirtualizingPanel
.GetIsVirtualizing(this))
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (8)
41
VirtualizingPanel
.IsVirtualizingProperty.OverrideMetadata(
45
VirtualizingPanel
.VirtualizationModeProperty.OverrideMetadata(
73
DataGridHelper.TransferProperty(this,
VirtualizingPanel
.IsVirtualizingProperty);
324
DataGridHelper.TransferProperty(this,
VirtualizingPanel
.IsVirtualizingProperty);
372
DataGridHelper.TransferProperty(headersPresenter,
VirtualizingPanel
.IsVirtualizingProperty);
373
if (e.OldValue != headersPresenter.GetValue(
VirtualizingPanel
.IsVirtualizingProperty))
388
VirtualizingPanel
.IsVirtualizingProperty,
416
if (withColumnVirtualization ==
VirtualizingPanel
.GetIsVirtualizing(this))
System\Windows\Controls\ScrollUnit.cs (1)
9
/// Used by <see cref="
VirtualizingPanel
.ScrollUnitProperty" />.
System\Windows\Controls\TreeView.cs (1)
31
VirtualizingPanel
.IsVirtualizingProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\TreeViewItem.cs (11)
32
VirtualizingPanel
.IsVirtualizingProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
901
if (
VirtualizingPanel
.GetIsVirtualizing(parentItemsControl))
909
if (
VirtualizingPanel
.GetIsVirtualizing(parentItemsControl))
927
VirtualizingPanel
vp = ItemsHost as
VirtualizingPanel
;
943
SynchronizeValue(
VirtualizingPanel
.IsVirtualizingProperty, parent, element);
944
SynchronizeValue(
VirtualizingPanel
.IsVirtualizingWhenGroupingProperty, parent, element);
945
SynchronizeValue(
VirtualizingPanel
.VirtualizationModeProperty, parent, element);
946
SynchronizeValue(
VirtualizingPanel
.ScrollUnitProperty, parent, element);
1032
VirtualizingPanel
virtualizingPanel = item.ItemsHost as
VirtualizingPanel
;
System\Windows\Controls\VirtualizationMode.cs (1)
9
/// Used by <see cref="
VirtualizingPanel
.VirtualizationModeProperty" />.
System\Windows\Controls\VirtualizingPanel.cs (10)
55
DependencyProperty.RegisterAttached("IsVirtualizing", typeof(bool), typeof(
VirtualizingPanel
),
89
DependencyProperty.RegisterAttached("VirtualizationMode", typeof(VirtualizationMode), typeof(
VirtualizingPanel
),
121
DependencyProperty.RegisterAttached("IsVirtualizingWhenGrouping", typeof(bool), typeof(
VirtualizingPanel
),
153
DependencyProperty.RegisterAttached("ScrollUnit", typeof(ScrollUnit), typeof(
VirtualizingPanel
),
186
DependencyProperty.RegisterAttached("CacheLength", typeof(VirtualizationCacheLength), typeof(
VirtualizingPanel
),
221
DependencyProperty.RegisterAttached("CacheLengthUnit", typeof(VirtualizationCacheLengthUnit), typeof(
VirtualizingPanel
),
253
DependencyProperty.RegisterAttached("IsContainerVirtualizable", typeof(bool), typeof(
VirtualizingPanel
),
285
DependencyProperty.RegisterAttached("ShouldCacheContainerSize", typeof(bool), typeof(
VirtualizingPanel
),
359
dp ==
VirtualizingPanel
.IsVirtualizingWhenGroupingProperty ||
361
dp ==
VirtualizingPanel
.ScrollUnitProperty)
System\Windows\Controls\VirtualizingStackPanel.cs (31)
789
d.SetCurrentValue(
VirtualizingPanel
.IsContainerVirtualizableProperty, false);
1099
element.InvalidateProperty(
VirtualizingPanel
.IsContainerVirtualizableProperty);
1665
VirtualizingPanel
itemsHost = groupItem.ItemsHost as
VirtualizingPanel
;
1730
if (!itemsControl.IsGrouping &&
VirtualizingPanel
.GetScrollUnit(itemsControl) == ScrollUnit.Item)
1760
VirtualizingPanel
.IsVirtualizingProperty;
1769
VirtualizingPanel
.VirtualizationModeProperty;
3746
VirtualizingPanel
vp = VisualTreeHelper.GetParent(itemsOwner) as
VirtualizingPanel
;
3986
VirtualizationCacheLength cacheLength =
VirtualizingPanel
.GetCacheLength(this);
3987
VirtualizationCacheLengthUnit cacheUnit =
VirtualizingPanel
.GetCacheLengthUnit(this);
4100
VirtualizingPanel
virtualizingPanel = VisualTreeHelper.GetParent(element) as
VirtualizingPanel
;
4123
VirtualizingPanel
virtualizingPanel = virtualizingChild.ItemsHost as
VirtualizingPanel
;
7479
if (child != null &&
VirtualizingPanel
.GetShouldCacheContainerSize(child))
7631
if (child != null &&
VirtualizingPanel
.GetShouldCacheContainerSize(child))
8366
if (
VirtualizingPanel
.GetShouldCacheContainerSize(child))
8804
VirtualizingPanel
.InsertInternalChild(children, insertIndex, container);
8817
VirtualizingPanel
.AddInternalChild(children, container);
9009
VirtualizingPanel
.RemoveInternalChildRange(children, pos, uiCount);
9164
VirtualizingPanel
.GetIsContainerVirtualizable(child))
9495
VirtualizingPanel
.RemoveInternalChildRange((UIElementCollection)children, startIndex, count);
11059
VirtualizingPanel
vp = itemsHost as
VirtualizingPanel
;
12363
"IsVirt:",
VirtualizingPanel
.GetIsVirtualizing(ic),
12364
"IsVirtWhenGroup:",
VirtualizingPanel
.GetIsVirtualizingWhenGrouping(ic),
12365
"VirtMode:",
VirtualizingPanel
.GetVirtualizationMode(ic),
12366
"ScrollUnit:",
VirtualizingPanel
.GetScrollUnit(ic),
12367
"CacheLen:",
VirtualizingPanel
.GetCacheLength(ic),
VirtualizingPanel
.GetCacheLengthUnit(ic));
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
825
case 731: t = () => typeof(
VirtualizingPanel
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (6)
6199
Type type = typeof(System.Windows.Controls.
VirtualizingPanel
);
6201
this.GetXamlType(typeof(System.Windows.Controls.
VirtualizingPanel
)), // DeclaringType
6207
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.
VirtualizingPanel
)target).Children; };
7937
Type type = typeof(System.Windows.Controls.
VirtualizingPanel
);
7938
DependencyProperty dp = System.Windows.Controls.
VirtualizingPanel
.IsVirtualizingProperty;
7940
this.GetXamlType(typeof(System.Windows.Controls.
VirtualizingPanel
)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11174
typeof(System.Windows.Controls.
VirtualizingPanel
),
System\Windows\Markup\KnownTypes.cs (1)
6285
case KnownElements.VirtualizingPanel: t = typeof(System.Windows.Controls.
VirtualizingPanel
); break;