LinedFlowLayout.LockItemToLine(Int32) 方法

定義

擷取具有所提供索引的項目所屬之行的索引。 然後,該項目保證會出現在傳回的行中,直到 引發 ItemsUnlocked 事件為止。

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

參數

itemIndex
Int32

int

要鎖定至一行的專案索引。

傳回

Int32

int

具有所提供索引的項目所屬之行的索引。

適用於