EnsureVisible Method
Description
The EnsureVisible method ensures that an item in the gallery is visible.
Syntax
Public Sub EnsureVisible( _
ByVal Index As Integer _
)
Parameters
- Index: Index of a CommandBarGalleryItem within the gallery's collection of items to ensure is visible.
Remarks
EnsureVisible will "ensure" that the item with the specified Index is visible in the gallery. This will scroll the items in the gallery until the item is visible.
See Also

Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.