MobileForms Toolkit Documentation

DetailView.EnsureVisible Method 

Ensures the visibility of the Item.

public int EnsureVisible(
Item item,
bool bTop
);

Parameters

item
Item to show.
bTop
true, if the item should be positioned at the top of the control if possible

Return Value

New offset of the Item from the top, -1 if not applicable.

Remarks

If the Item is ItemPageBreak, the page with this PagingItem is selected. Otherwise the page containing the item is located, and the control is scrolled to show the item.

See Also

DetailView Class | Resco.Controls.DetailView Namespace