Click or drag to resize

ListView.EnsureVisible Method (Typed)

X#
Ensure that an item is visible in the list view, scrolling if necessary.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD EnsureVisible(
	nItem AS LONG,
	 lPartiallyVisible AS LOGIC
) AS LOGIC
Request Example View Source

Parameters

nItem
Type: Long
The index of the list view item to make visible.
lPartiallyVisible
Type: Logic
A value of TRUE indicates that the specified item can be only partially visible. Specify FALSE if you want the item to be fully visible.

Return Value

Type: Logic
TRUE if successful; otherwise, FALSE.
See Also