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

float

ExtentCorrectionTolerance

public const float ExtentCorrectionTolerance = 0.5

Field Value

float

Properties

EstimatedItemExtent

public float EstimatedItemExtent { get; set; }

Property Value

float

Gap

public float Gap { get; set; }

Property Value

float

Orientation

public Orientation Orientation { get; set; }

Property Value

Orientation

Methods

ArrangeChildren()

protected override void ArrangeChildren()

GetMinimumSize()

public override Vector2 GetMinimumSize()

Returns

Vector2

OnGeneratorChanged(ItemGeneratorChangedEventArgs)

protected override void OnGeneratorChanged(ItemGeneratorChangedEventArgs args)

Parameters

args ItemGeneratorChangedEventArgs

OnGeneratorReset()

protected override void OnGeneratorReset()

TryGetIndexBounds(int, out Rectangle)

public override bool TryGetIndexBounds(int index, out Rectangle bounds)

Parameters

index int
bounds Rectangle

Returns

bool