GListScrollToView Method (Int32, Boolean, Boolean) |
Scroll the list to make an item with certain index visible.
Namespace:
FairyGUI
Assembly:
FairyGUI (in FairyGUI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void ScrollToView(
int index,
bool ani,
bool setFirst
)
Parameters
- index
- Type: SystemInt32
Item index - ani
- Type: SystemBoolean
True to scroll smoothly, othewise immdediately. - setFirst
- Type: SystemBoolean
If true, scroll to make the target on the top/left; If false, scroll to make the target any position in view.
See Also