2 types derived from VirtualizingPanel
PresentationFramework (2)
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (1)
27public class DataGridCellsPanel : VirtualizingPanel
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
33public class VirtualizingStackPanel : VirtualizingPanel, IScrollInfo, IStackMeasure
114 references to VirtualizingPanel
PresentationFramework (114)
src\Framework\System\Windows\Automation\Peers\GridViewAutomationPeer.cs (2)
215VirtualizingPanel itemsHost = _listview.ItemsHost as VirtualizingPanel;
src\Framework\System\Windows\Automation\Peers\ItemAutomationPeer.cs (2)
706if (VirtualizingPanel.GetIsVirtualizingWhenGrouping(parent)) 725if (VirtualizingPanel.GetIsVirtualizingWhenGrouping(parent))
src\Framework\System\Windows\Controls\DataGrid.cs (4)
48VirtualizingPanel.IsVirtualizingProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true, null, new CoerceValueCallback(OnCoerceIsVirtualizingProperty))); 49VirtualizingPanel.VirtualizationModeProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(VirtualizationMode.Recycling)); 6138if (VirtualizingPanel.GetScrollUnit(this) == ScrollUnit.Item && !IsGrouping) 8078dataGrid.CoerceValue(VirtualizingPanel.IsVirtualizingProperty);
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (2)
1876IsVirtualizing = VirtualizingPanel.GetIsVirtualizing(parentPresenter); 1877InRecyclingMode = (VirtualizingPanel.GetVirtualizationMode(parentPresenter) == VirtualizationMode.Recycling);
src\Framework\System\Windows\Controls\DataGridRow.cs (2)
112VirtualizingPanel.ShouldCacheContainerSizeProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceShouldCacheContainerSize))); 474CoerceValue(VirtualizingPanel.ShouldCacheContainerSizeProperty);
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (1)
461if (itemsControl.ItemsHost is VirtualizingPanel &&
src\Framework\System\Windows\Controls\GroupItem.cs (7)
67if (itemsControl != null && VirtualizingPanel.GetIsVirtualizingWhenGrouping(itemsControl)) 82if (itemsControl != null && VirtualizingPanel.GetIsVirtualizing(itemsControl) && VirtualizingPanel.GetVirtualizationMode(itemsControl) == VirtualizationMode.Recycling) 165bool isVirtualizingWhenGrouping = (parentItemsControl != null && VirtualizingPanel.GetIsVirtualizingWhenGrouping(parentItemsControl)); 246if (parentItemsControl != null && VirtualizingPanel.GetIsVirtualizingWhenGrouping(parentItemsControl)) 259VirtualizingPanel vp = _itemsHost as VirtualizingPanel;
src\Framework\System\Windows\Controls\ItemsControl.cs (13)
59this.CoerceValue(VirtualizingPanel.CacheLengthUnitProperty); 69VirtualizingPanel.CacheLengthProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCacheSizeChanged))); 70VirtualizingPanel.CacheLengthUnitProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCacheSizeChanged), new CoerceValueCallback(CoerceVirtualizationCacheLengthUnit))); 941CoerceValue(VirtualizingPanel.CacheLengthUnitProperty); 1849VirtualizingPanel itemsHost = ItemsHost as VirtualizingPanel; 2028VirtualizingPanel virtualizingPanel = ItemsHost as VirtualizingPanel; 2037VirtualizingPanel.GetIsVirtualizing(this)) 2635if (VirtualizingPanel.GetScrollUnit(this) != ScrollUnit.Item) 2685VirtualizingPanel virtualizingPanel = ItemsHost as VirtualizingPanel; 2801VirtualizingPanel.GetScrollUnit(this) == ScrollUnit.Item &&
src\Framework\System\Windows\Controls\ItemsPresenter.cs (1)
245if (VirtualizingPanel.GetIsVirtualizingWhenGrouping(owner))
src\Framework\System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (8)
46VirtualizingPanel.IsVirtualizingProperty.OverrideMetadata( 49VirtualizingPanel.VirtualizationModeProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(VirtualizationMode.Recycling)); 112DataGridHelper.TransferProperty(this, VirtualizingPanel.IsVirtualizingProperty); 422DataGridHelper.TransferProperty(this, VirtualizingPanel.IsVirtualizingProperty); 504DataGridHelper.TransferProperty(cellsPresenter, VirtualizingPanel.IsVirtualizingProperty); 505if (e.OldValue != cellsPresenter.GetValue(VirtualizingPanel.IsVirtualizingProperty)) 520VirtualizingPanel.IsVirtualizingProperty, 565if (withColumnVirtualization == VirtualizingPanel.GetIsVirtualizing(this))
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (8)
46VirtualizingPanel.IsVirtualizingProperty.OverrideMetadata( 50VirtualizingPanel.VirtualizationModeProperty.OverrideMetadata( 78DataGridHelper.TransferProperty(this, VirtualizingPanel.IsVirtualizingProperty); 329DataGridHelper.TransferProperty(this, VirtualizingPanel.IsVirtualizingProperty); 377DataGridHelper.TransferProperty(headersPresenter, VirtualizingPanel.IsVirtualizingProperty); 378if (e.OldValue != headersPresenter.GetValue(VirtualizingPanel.IsVirtualizingProperty)) 393VirtualizingPanel.IsVirtualizingProperty, 421if (withColumnVirtualization == VirtualizingPanel.GetIsVirtualizing(this))
src\Framework\System\Windows\Controls\ScrollUnit.cs (1)
14/// Used by <see cref="VirtualizingPanel.ScrollUnitProperty" />.
src\Framework\System\Windows\Controls\TreeView.cs (1)
37VirtualizingPanel.IsVirtualizingProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\TreeViewItem.cs (11)
37VirtualizingPanel.IsVirtualizingProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 904if (VirtualizingPanel.GetIsVirtualizing(parentItemsControl)) 912if (VirtualizingPanel.GetIsVirtualizing(parentItemsControl)) 930VirtualizingPanel vp = ItemsHost as VirtualizingPanel; 947SynchronizeValue(VirtualizingPanel.IsVirtualizingProperty, parent, element); 948SynchronizeValue(VirtualizingPanel.IsVirtualizingWhenGroupingProperty, parent, element); 949SynchronizeValue(VirtualizingPanel.VirtualizationModeProperty, parent, element); 950SynchronizeValue(VirtualizingPanel.ScrollUnitProperty, parent, element); 1036VirtualizingPanel virtualizingPanel = item.ItemsHost as VirtualizingPanel;
src\Framework\System\Windows\Controls\VirtualizationMode.cs (1)
14/// Used by <see cref="VirtualizingPanel.VirtualizationModeProperty" />.
src\Framework\System\Windows\Controls\VirtualizingPanel.cs (10)
62DependencyProperty.RegisterAttached("IsVirtualizing", typeof(bool), typeof(VirtualizingPanel), 102DependencyProperty.RegisterAttached("VirtualizationMode", typeof(VirtualizationMode), typeof(VirtualizingPanel), 140DependencyProperty.RegisterAttached("IsVirtualizingWhenGrouping", typeof(bool), typeof(VirtualizingPanel), 178DependencyProperty.RegisterAttached("ScrollUnit", typeof(ScrollUnit), typeof(VirtualizingPanel), 217DependencyProperty.RegisterAttached("CacheLength", typeof(VirtualizationCacheLength), typeof(VirtualizingPanel), 258DependencyProperty.RegisterAttached("CacheLengthUnit", typeof(VirtualizationCacheLengthUnit), typeof(VirtualizingPanel), 296DependencyProperty.RegisterAttached("IsContainerVirtualizable", typeof(bool), typeof(VirtualizingPanel), 334DependencyProperty.RegisterAttached("ShouldCacheContainerSize", typeof(bool), typeof(VirtualizingPanel), 411dp == VirtualizingPanel.IsVirtualizingWhenGroupingProperty || 413dp == VirtualizingPanel.ScrollUnitProperty)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (31)
791d.SetCurrentValue(VirtualizingPanel.IsContainerVirtualizableProperty, false); 1073element.InvalidateProperty(VirtualizingPanel.IsContainerVirtualizableProperty); 1621VirtualizingPanel itemsHost = groupItem.ItemsHost as VirtualizingPanel; 1686if (!itemsControl.IsGrouping && VirtualizingPanel.GetScrollUnit(itemsControl) == ScrollUnit.Item) 1716VirtualizingPanel.IsVirtualizingProperty; 1725VirtualizingPanel.VirtualizationModeProperty; 3686VirtualizingPanel vp = VisualTreeHelper.GetParent(itemsOwner) as VirtualizingPanel; 3909VirtualizationCacheLength cacheLength = VirtualizingPanel.GetCacheLength(this); 3910VirtualizationCacheLengthUnit cacheUnit = VirtualizingPanel.GetCacheLengthUnit(this); 4023VirtualizingPanel virtualizingPanel = VisualTreeHelper.GetParent(element) as VirtualizingPanel; 4046VirtualizingPanel virtualizingPanel = virtualizingChild.ItemsHost as VirtualizingPanel; 7344if (child != null && VirtualizingPanel.GetShouldCacheContainerSize(child)) 7496if (child != null && VirtualizingPanel.GetShouldCacheContainerSize(child)) 8213if (VirtualizingPanel.GetShouldCacheContainerSize(child)) 8651VirtualizingPanel.InsertInternalChild(children, insertIndex, container); 8664VirtualizingPanel.AddInternalChild(children, container); 8856VirtualizingPanel.RemoveInternalChildRange(children, pos, uiCount); 9011VirtualizingPanel.GetIsContainerVirtualizable(child)) 9346VirtualizingPanel.RemoveInternalChildRange((UIElementCollection)children, startIndex, count); 10917VirtualizingPanel vp = itemsHost as VirtualizingPanel; 12207"IsVirt:", VirtualizingPanel.GetIsVirtualizing(ic), 12208"IsVirtWhenGroup:", VirtualizingPanel.GetIsVirtualizingWhenGrouping(ic), 12209"VirtMode:", VirtualizingPanel.GetVirtualizationMode(ic), 12210"ScrollUnit:", VirtualizingPanel.GetScrollUnit(ic), 12211"CacheLen:", VirtualizingPanel.GetCacheLength(ic), VirtualizingPanel.GetCacheLengthUnit(ic));
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
823case 731: t = () => typeof(VirtualizingPanel); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (6)
6159Type type = typeof(System.Windows.Controls.VirtualizingPanel); 6161this.GetXamlType(typeof(System.Windows.Controls.VirtualizingPanel)), // DeclaringType 6167bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.VirtualizingPanel)target).Children; }; 7897Type type = typeof(System.Windows.Controls.VirtualizingPanel); 7898DependencyProperty dp = System.Windows.Controls.VirtualizingPanel.IsVirtualizingProperty; 7900this.GetXamlType(typeof(System.Windows.Controls.VirtualizingPanel)), // DeclaringType
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11172typeof(System.Windows.Controls.VirtualizingPanel),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6275case KnownElements.VirtualizingPanel: t = typeof(System.Windows.Controls.VirtualizingPanel); break;