Click or drag to resize

ListView.SetGroupName Method (Typed)

X#
Set the name of a list view group.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD SetGroupName(
	iGroupId AS LONG,
	cGroupName AS STRING,
	 dwAlign AS LONG
) AS LOGIC
Request Example View Source

Parameters

iGroupId
Type: Long
The number of the group.
cGroupName
Type: String
group name
dwAlign
Type: Long
The group alignment. Available options are - LVGA_HEADER_LEFT LVGA_HEADER_RIGHT LVGA_HEADER_CENTER

Return Value

Type: Logic
TRUE if successful; otherwise, FALSE.
Remarks
Tip Tip
Listview grouping requires visual styles. If visual styles are not enabled or available these features have no effect. If group view is enabled only items belonging to groups are displayed.
See Also