VirtualizingLayoutContext.RecommendedAnchorIndex Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the recommended index from which to start the generation and layout of elements.
public:
property int RecommendedAnchorIndex { int get(); };
int RecommendedAnchorIndex();
public int RecommendedAnchorIndex { get; }
var int32 = virtualizingLayoutContext.recommendedAnchorIndex;
Public ReadOnly Property RecommendedAnchorIndex As Integer
Property Value
int
The recommended index from which the layout should start.
Remarks
The recommended index might be the result of programmatically realizing an element and requesting that it be brought into view. Or, it may be that a user drags the scrollbar thumb so quickly that the new viewport and the viewport & buffer previously given to the layout do not intersect, so a new index is suggested as the anchor from which to generate and layout other elements.