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