2 types derived from VirtualizingStackPanel
PresentationFramework (1)
System\Windows\Controls\Primitives\DataGridRowsPresenter.cs (1)
10public class DataGridRowsPresenter : VirtualizingStackPanel
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonMenuItemsPanel.cs (1)
16public class RibbonMenuItemsPanel : VirtualizingStackPanel, ISupportStarLayout
2 instantiations of VirtualizingStackPanel
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
12439DefaultConstructor = delegate () { return new System.Windows.Controls.VirtualizingStackPanel(); },
System\Windows\Markup\KnownTypes.cs (1)
1650case KnownElements.VirtualizingStackPanel: o = new System.Windows.Controls.VirtualizingStackPanel(); break;
66 references to VirtualizingStackPanel
PresentationFramework (66)
MS\Internal\Helper.cs (6)
1065if (!VirtualizingStackPanel.IsVSP45Compat) 1090if (!VirtualizingStackPanel.IsVSP45Compat) 1167if (!VirtualizingStackPanel.IsVSP45Compat) 1217VirtualizingStackPanel vsp = itemsHost as VirtualizingStackPanel; 1536VirtualizingStackPanel.ItemsHostInsetProperty.GlobalIndex};
System\Windows\Controls\CleanUpVirtualizedItemEventArgs.cs (1)
13: base(VirtualizingStackPanel.CleanUpVirtualizedItemEvent)
System\Windows\Controls\DataGrid.cs (2)
1894VirtualizingStackPanel panel = _internalItemsHost as VirtualizingStackPanel;
System\Windows\Controls\DataGridColumnCollection.cs (2)
1053VirtualizingStackPanel vsp = (DataGridOwner == null) ? null : 1054DataGridOwner.InternalItemsHost as VirtualizingStackPanel;
System\Windows\Controls\GroupStyle.cs (1)
45template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(VirtualizingStackPanel)));
System\Windows\Controls\ItemsControl.cs (7)
58VirtualizingStackPanel.ScrollUnitProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnScrollingModeChanged), new CoerceValueCallback(CoerceScrollingMode))); 66d.CoerceValue(VirtualizingStackPanel.ScrollUnitProperty); 74BaseValueSource baseValueSource = DependencyPropertyHelper.GetValueSource(d, VirtualizingStackPanel.ScrollUnitProperty).BaseValueSource; 96BaseValueSource baseValueSource = DependencyPropertyHelper.GetValueSource(d, VirtualizingStackPanel.CacheLengthUnitProperty).BaseValueSource; 927CoerceValue(VirtualizingStackPanel.ScrollUnitProperty); 3292VirtualizingStackPanel.GetScrollUnit(this) == ScrollUnit.Item); 3302VirtualizingStackPanel.GetScrollUnit(this) == ScrollUnit.Item);
System\Windows\Controls\ListBox.cs (1)
68ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(VirtualizingStackPanel)));
System\Windows\Controls\TreeView.cs (1)
36VirtualizingStackPanel.ScrollUnitProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(ScrollUnit.Pixel));
System\Windows\Controls\VirtualizingPanel.cs (3)
297if (VirtualizingStackPanel.IsVSP45Compat) 358if (dp == VirtualizingStackPanel.IsVirtualizingProperty || 360dp == VirtualizingStackPanel.VirtualizationModeProperty ||
System\Windows\Controls\VirtualizingStackPanel.cs (36)
51private static readonly DependencyProperty ContainerSizeProperty = DependencyProperty.Register("ContainerSize", typeof(Size), typeof(VirtualizingStackPanel)); 57private static readonly DependencyProperty ContainerSizeDualProperty = DependencyProperty.Register("ContainerSizeDual", typeof(ContainerSizeDual), typeof(VirtualizingStackPanel)); 63private static readonly DependencyProperty AreContainersUniformlySizedProperty = DependencyProperty.Register("AreContainersUniformlySized", typeof(bool), typeof(VirtualizingStackPanel)); 72private static readonly DependencyProperty UniformOrAverageContainerSizeProperty = DependencyProperty.Register("UniformOrAverageContainerSize", typeof(double), typeof(VirtualizingStackPanel)); 82private static readonly DependencyProperty UniformOrAverageContainerSizeDualProperty = DependencyProperty.Register("UniformOrAverageContainerSizeDual", typeof(UniformOrAverageContainerSizeDual), typeof(VirtualizingStackPanel)); 89internal static readonly DependencyProperty ItemsHostInsetProperty = DependencyProperty.Register("ItemsHostInset", typeof(Thickness), typeof(VirtualizingStackPanel)); 1177int i = (itemsHost is VirtualizingStackPanel ? ((VirtualizingStackPanel)itemsHost)._firstItemInExtendedViewportChildIndex : 0); 1270innerPanel = innerPanel as VirtualizingStackPanel; 1797DependencyProperty.Register("Orientation", typeof(Orientation), typeof(VirtualizingStackPanel), 1967public static readonly RoutedEvent CleanUpVirtualizedItemEvent = EventManager.RegisterRoutedEvent("CleanUpVirtualizedItemEvent", RoutingStrategy.Direct, typeof(CleanUpVirtualizedItemEventHandler), typeof(VirtualizingStackPanel)); 3006VirtualizingStackPanel childPanel = firstContainer.ItemsHost as VirtualizingStackPanel; 4354cacheSize = VirtualizingStackPanel.GetCacheLength(this); 4355cacheUnit = VirtualizingStackPanel.GetCacheLengthUnit(this); 6524VirtualizingStackPanel vsp = scrollingPanel as VirtualizingStackPanel; 6844if (!(childItemsHost is VirtualizingStackPanel)) 9567private static void ResetScrolling(VirtualizingStackPanel element) 11304ResetScrolling(d as VirtualizingStackPanel); 12133internal static bool IsConfigured(VirtualizingStackPanel vsp) 12141internal static void ConfigureTracing(VirtualizingStackPanel vsp, 12180VirtualizingStackPanel parent = VisualTreeHelper.GetParent(itemsOwner) as VirtualizingStackPanel; 12227internal static bool IsTracing(VirtualizingStackPanel vsp) 12233internal static void Trace(VirtualizingStackPanel vsp, ScrollTraceOp op, params ReadOnlySpan<object> args) 12318private ScrollTracer(ItemsControl itemsControl, VirtualizingStackPanel vsp, TraceList traceList) 12353private void IdentifyTrace(ItemsControl ic, VirtualizingStackPanel vsp) 12392private void AddTrace(VirtualizingStackPanel vsp, ScrollTraceOp op, ScrollTracingInfo sti, params ReadOnlySpan<object> args) 12673internal VirtualizingStackPanel Parent { get; private set; } 12677internal ScrollTracingInfo(ScrollTracer tracer, int generation, int depth, FrameworkElement owner, VirtualizingStackPanel parent, object parentItem, int itemIndex) 12779internal ScrollTraceRecord(ScrollTraceOp op, VirtualizingStackPanel vsp, 12792internal VirtualizingStackPanel VSP { get; private set; } 12881internal void Write(BinaryWriter writer, VirtualizingStackPanel vsp) 13046VirtualizingStackPanel vsp = VisualTreeHelper.GetParent(container) as VirtualizingStackPanel;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
826case 732: t = () => typeof(VirtualizingStackPanel); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
6666Type type = typeof(System.Windows.Controls.VirtualizingStackPanel); 6668this.GetXamlType(typeof(System.Windows.Controls.VirtualizingStackPanel)), // DeclaringType 6675GetDelegate = delegate (object target) { return ((System.Windows.Controls.VirtualizingStackPanel)target).Children; },
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
12436typeof(System.Windows.Controls.VirtualizingStackPanel),
System\Windows\Markup\KnownTypes.cs (1)
6280case KnownElements.VirtualizingStackPanel: t = typeof(System.Windows.Controls.VirtualizingStackPanel); break;