LinedFlowLayout.LockItemToLine(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.