OrientedVirtualizingPanel.GetInsertionIndexes(Point, Int32, Int32) メソッド

定義

指定したポイントの間にある項目のインデックス値を返します。

public:
 virtual void GetInsertionIndexes(Point position, [Out] int & first, [Out] int & second) = GetInsertionIndexes;
void GetInsertionIndexes(Point const& position, [Out] int & first, [Out] int & second);
public void GetInsertionIndexes(Point position, out int first, out int second);
Public Sub GetInsertionIndexes (position As Point, ByRef first As Integer, ByRef second As Integer)

パラメーター

position
Point

挿入インデックスを取得するポイント。

first
Int32

int

指定したポイントの前の項目のインデックス。

second
Int32

int

指定したポイントの後の項目のインデックス。

実装

M:Microsoft.UI.Xaml.Controls.IInsertionPanel.GetInsertionIndexes(Windows.Foundation.Point,System.Int32@,System.Int32@) M:Microsoft.UI.Xaml.Controls.IInsertionPanel.GetInsertionIndexes(Windows.Foundation.Point,int@,int@)

注釈

DragOver イベントを処理するときにこのメソッドを呼び出して、DragOver が発生している 2 つの項目のインデックスと、潜在的なドロップと挿入が発生する場所を返します。

適用対象