IInsertionPanel IInsertionPanel IInsertionPanel IInsertionPanel Interface

Definition

Provides methods to let an item be inserted between other items in a drag-and-drop operation.

public : interface IInsertionPanelpublic interface IInsertionPanelPublic Interface IInsertionPanel// This API is not available in Javascript.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Methods

GetInsertionIndexes(Point, Int32, Int32) GetInsertionIndexes(Point, Int32, Int32) GetInsertionIndexes(Point, Int32, Int32) GetInsertionIndexes(Point, Int32, Int32)

Returns the index values of the items that the specified point is between.

public : void GetInsertionIndexes(Point position, int first, int second)public void GetInsertionIndexes(Point position, Int32 first, Int32 second)Public Function GetInsertionIndexes(position As Point, first As Int32, second As Int32) As void// This API is not available in Javascript.
Parameters
position
Point Point Point Point

The point for which to get insertion indexes.

first
int Int32 Int32 Int32

The index of the item before the specified point.

second
int Int32 Int32 Int32

The index of the item after the specified point.

Remarks

Call this method when handling a DragOver event to return the indices of the two items between which the DragOver is happening and where a potential drop and insertion would happen.