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

プロパティ値

Int32

ビュー内の現在の項目の位置を表す序数。コレクションが初期化されていない場合、または ItemsSource モードのコレクションがない場合は -1。

適用対象

こちらもご覧ください