Class VirtualizingStackPanel
- Namespace
- Forma
- Assembly
- Forma.dll
Realizes only the visible portion of a linear item sequence while correcting estimated item extents and scroll anchors.
public sealed class VirtualizingStackPanel : VirtualizingPanel, IAddChild<Control>, IAddChild, INotifyPropertyChanged, IScrollIndexProvider, IDisposable
- Inheritance
-
VirtualizingStackPanel
- Implements
- Inherited Members
Constructors
VirtualizingStackPanel()
public VirtualizingStackPanel()
Fields
DefaultEstimatedItemExtent
The finite default used when no item estimate is supplied by a theme or application.
public const float DefaultEstimatedItemExtent = 32
Field Value
ExtentCorrectionTolerance
public const float ExtentCorrectionTolerance = 0.5
Field Value
Properties
EstimatedItemExtent
public float EstimatedItemExtent { get; set; }
Property Value
Gap
public float Gap { get; set; }
Property Value
Orientation
public Orientation Orientation { get; set; }
Property Value
Methods
ArrangeChildren()
protected override void ArrangeChildren()
GetMinimumSize()
public override Vector2 GetMinimumSize()
Returns
- Vector2
OnGeneratorChanged(ItemGeneratorChangedEventArgs)
protected override void OnGeneratorChanged(ItemGeneratorChangedEventArgs args)
Parameters
OnGeneratorReset()
protected override void OnGeneratorReset()
TryGetIndexBounds(int, out Rectangle)
public override bool TryGetIndexBounds(int index, out Rectangle bounds)
Parameters
indexintboundsRectangle