Share via


VirtualizingLayoutContext.RecommendedAnchorIndex 屬性

定義

取得要從中開始產生和配置項目的建議索引。

public:
 property int RecommendedAnchorIndex { int get(); };
int RecommendedAnchorIndex();
public int RecommendedAnchorIndex { get; }
var int32 = virtualizingLayoutContext.recommendedAnchorIndex;
Public ReadOnly Property RecommendedAnchorIndex As Integer

屬性值

Int32

int

配置應該從中開始的建議索引。

備註

建議的索引可能是以程式設計方式實現專案並要求它帶入檢視的結果。 或者,使用者可能會拖曳滾動條滾動條滾動條指紋,讓新的檢視區和檢視區 & 緩衝區先前提供給版面配置不會相交,因此建議使用新的索引作為錨點,以便產生和配置其他元素。

適用於