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