ListView.EnsureVisible Method (Typed) | |
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.19
Syntax VIRTUAL METHOD EnsureVisible(
nItem AS LONG,
lPartiallyVisible AS LOGIC
) AS LOGIC
public virtual bool EnsureVisible(
int nItem,
[DefaultParameterValueAttribute(false, 0)] bool lPartiallyVisible
)
Request Example
View SourceParameters
- 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