語言

ItemCollection.CurrentPosition 屬性

定義

取得目前項目在視圖中的序數位置。

public:
 virtual property int CurrentPosition { int get(); };
public override int CurrentPosition { get; }
member this.CurrentPosition : int
Public Overrides ReadOnly Property CurrentPosition As Integer

屬性值

當前項目在檢視或 -1 中的序數位置,若集合未初始化或模式中無集合 ItemsSource 。

適用於

另請參閱