MobileForms Toolkit Documentation

AdvancedList.EnsureVisible Method (Int32, Int32, Boolean)

Scrolls the control to ensure that chosen row and cell is visible and returns the Row vertical offset.

public int EnsureVisible(
int ix,
int cx,
bool bTop
);

Parameters

ix
Index of the Row to display.
cx
Index of the Cell to display.
bTop
true, if the row should be positioned as the first row.

Return Value

Offset of the Row from the top of the control.

Remarks

This method will scroll the control so the row and cell with the desired index is diplayed on the screen, preferably as the first displayed row.

See Also

AdvancedList Class | Resco.Controls.AdvancedList Namespace | AdvancedList.EnsureVisible Overload List