Share via


LinedFlowLayout.LockItemToLine(Int32) Method

Definition

Retrieves the index of the line that the item with the provided index belongs to. That item is then guaranteed to appear in the returned line until the ItemsUnlocked event is raised.

public:
 virtual int LockItemToLine(int itemIndex) = LockItemToLine;
int LockItemToLine(int const& itemIndex);
public int LockItemToLine(int itemIndex);
function lockItemToLine(itemIndex)
Public Function LockItemToLine (itemIndex As Integer) As Integer

Parameters

itemIndex
Int32

int

The index of the item to be locked to a line.

Returns

Int32

int

The index of the line that the item with the provided index belongs to.

Applies to