Click or drag to resize

ListView.AddGroup Method (Typed)

X#
Set an image as the background to the list view.

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

Parameters

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

Return Value

Type: Usual
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