2 types derived from VirtualizingStackPanel
PresentationFramework (1)
System\Windows\Controls\Primitives\DataGridRowsPresenter.cs (1)
9
public class DataGridRowsPresenter :
VirtualizingStackPanel
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonMenuItemsPanel.cs (1)
15
public class RibbonMenuItemsPanel :
VirtualizingStackPanel
, ISupportStarLayout
2 instantiations of VirtualizingStackPanel
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
12438
DefaultConstructor = delegate () { return new System.Windows.Controls.
VirtualizingStackPanel
(); },
System\Windows\Markup\KnownTypes.cs (1)
1649
case KnownElements.VirtualizingStackPanel: o = new System.Windows.Controls.
VirtualizingStackPanel
(); break;
66 references to VirtualizingStackPanel
PresentationFramework (66)
MS\Internal\Helper.cs (6)
1058
if (!
VirtualizingStackPanel
.IsVSP45Compat)
1083
if (!
VirtualizingStackPanel
.IsVSP45Compat)
1160
if (!
VirtualizingStackPanel
.IsVSP45Compat)
1210
VirtualizingStackPanel
vsp = itemsHost as
VirtualizingStackPanel
;
1529
VirtualizingStackPanel
.ItemsHostInsetProperty.GlobalIndex};
System\Windows\Controls\CleanUpVirtualizedItemEventArgs.cs (1)
12
: base(
VirtualizingStackPanel
.CleanUpVirtualizedItemEvent)
System\Windows\Controls\DataGrid.cs (2)
1884
VirtualizingStackPanel
panel = _internalItemsHost as
VirtualizingStackPanel
;
System\Windows\Controls\DataGridColumnCollection.cs (2)
1052
VirtualizingStackPanel
vsp = (DataGridOwner == null) ? null :
1053
DataGridOwner.InternalItemsHost as
VirtualizingStackPanel
;
System\Windows\Controls\GroupStyle.cs (1)
44
template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(
VirtualizingStackPanel
)));
System\Windows\Controls\ItemsControl.cs (7)
57
VirtualizingStackPanel
.ScrollUnitProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnScrollingModeChanged), new CoerceValueCallback(CoerceScrollingMode)));
65
d.CoerceValue(
VirtualizingStackPanel
.ScrollUnitProperty);
73
BaseValueSource baseValueSource = DependencyPropertyHelper.GetValueSource(d,
VirtualizingStackPanel
.ScrollUnitProperty).BaseValueSource;
95
BaseValueSource baseValueSource = DependencyPropertyHelper.GetValueSource(d,
VirtualizingStackPanel
.CacheLengthUnitProperty).BaseValueSource;
920
CoerceValue(
VirtualizingStackPanel
.ScrollUnitProperty);
3261
VirtualizingStackPanel
.GetScrollUnit(this) == ScrollUnit.Item);
3271
VirtualizingStackPanel
.GetScrollUnit(this) == ScrollUnit.Item);
System\Windows\Controls\ListBox.cs (1)
67
ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(
VirtualizingStackPanel
)));
System\Windows\Controls\TreeView.cs (1)
35
VirtualizingStackPanel
.ScrollUnitProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(ScrollUnit.Pixel));
System\Windows\Controls\VirtualizingPanel.cs (3)
296
if (
VirtualizingStackPanel
.IsVSP45Compat)
354
if (dp ==
VirtualizingStackPanel
.IsVirtualizingProperty ||
356
dp ==
VirtualizingStackPanel
.VirtualizationModeProperty ||
System\Windows\Controls\VirtualizingStackPanel.cs (36)
50
private static readonly DependencyProperty ContainerSizeProperty = DependencyProperty.Register("ContainerSize", typeof(Size), typeof(
VirtualizingStackPanel
));
56
private static readonly DependencyProperty ContainerSizeDualProperty = DependencyProperty.Register("ContainerSizeDual", typeof(ContainerSizeDual), typeof(
VirtualizingStackPanel
));
62
private static readonly DependencyProperty AreContainersUniformlySizedProperty = DependencyProperty.Register("AreContainersUniformlySized", typeof(bool), typeof(
VirtualizingStackPanel
));
71
private static readonly DependencyProperty UniformOrAverageContainerSizeProperty = DependencyProperty.Register("UniformOrAverageContainerSize", typeof(double), typeof(
VirtualizingStackPanel
));
81
private static readonly DependencyProperty UniformOrAverageContainerSizeDualProperty = DependencyProperty.Register("UniformOrAverageContainerSizeDual", typeof(UniformOrAverageContainerSizeDual), typeof(
VirtualizingStackPanel
));
88
internal static readonly DependencyProperty ItemsHostInsetProperty = DependencyProperty.Register("ItemsHostInset", typeof(Thickness), typeof(
VirtualizingStackPanel
));
1176
int i = (itemsHost is
VirtualizingStackPanel
? ((
VirtualizingStackPanel
)itemsHost)._firstItemInExtendedViewportChildIndex : 0);
1269
innerPanel = innerPanel as
VirtualizingStackPanel
;
1790
DependencyProperty.Register("Orientation", typeof(Orientation), typeof(
VirtualizingStackPanel
),
1960
public static readonly RoutedEvent CleanUpVirtualizedItemEvent = EventManager.RegisterRoutedEvent("CleanUpVirtualizedItemEvent", RoutingStrategy.Direct, typeof(CleanUpVirtualizedItemEventHandler), typeof(
VirtualizingStackPanel
));
2996
VirtualizingStackPanel
childPanel = firstContainer.ItemsHost as
VirtualizingStackPanel
;
4335
cacheSize =
VirtualizingStackPanel
.GetCacheLength(this);
4336
cacheUnit =
VirtualizingStackPanel
.GetCacheLengthUnit(this);
6502
VirtualizingStackPanel
vsp = scrollingPanel as
VirtualizingStackPanel
;
6822
if (!(childItemsHost is
VirtualizingStackPanel
))
9545
private static void ResetScrolling(
VirtualizingStackPanel
element)
11279
ResetScrolling(d as
VirtualizingStackPanel
);
12108
internal static bool IsConfigured(
VirtualizingStackPanel
vsp)
12116
internal static void ConfigureTracing(
VirtualizingStackPanel
vsp,
12155
VirtualizingStackPanel
parent = VisualTreeHelper.GetParent(itemsOwner) as
VirtualizingStackPanel
;
12202
internal static bool IsTracing(
VirtualizingStackPanel
vsp)
12208
internal static void Trace(
VirtualizingStackPanel
vsp, ScrollTraceOp op, params ReadOnlySpan<object> args)
12293
private ScrollTracer(ItemsControl itemsControl,
VirtualizingStackPanel
vsp, TraceList traceList)
12328
private void IdentifyTrace(ItemsControl ic,
VirtualizingStackPanel
vsp)
12367
private void AddTrace(
VirtualizingStackPanel
vsp, ScrollTraceOp op, ScrollTracingInfo sti, params ReadOnlySpan<object> args)
12648
internal
VirtualizingStackPanel
Parent { get; private set; }
12652
internal ScrollTracingInfo(ScrollTracer tracer, int generation, int depth, FrameworkElement owner,
VirtualizingStackPanel
parent, object parentItem, int itemIndex)
12754
internal ScrollTraceRecord(ScrollTraceOp op,
VirtualizingStackPanel
vsp,
12767
internal
VirtualizingStackPanel
VSP { get; private set; }
12856
internal void Write(BinaryWriter writer,
VirtualizingStackPanel
vsp)
13021
VirtualizingStackPanel
vsp = VisualTreeHelper.GetParent(container) as
VirtualizingStackPanel
;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
825
case 732: t = () => typeof(
VirtualizingStackPanel
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
6665
Type type = typeof(System.Windows.Controls.
VirtualizingStackPanel
);
6667
this.GetXamlType(typeof(System.Windows.Controls.
VirtualizingStackPanel
)), // DeclaringType
6674
GetDelegate = delegate (object target) { return ((System.Windows.Controls.
VirtualizingStackPanel
)target).Children; },
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
12435
typeof(System.Windows.Controls.
VirtualizingStackPanel
),
System\Windows\Markup\KnownTypes.cs (1)
6279
case KnownElements.VirtualizingStackPanel: t = typeof(System.Windows.Controls.
VirtualizingStackPanel
); break;