ListView.AddGroup Method (Typed) | |
Set an image as the background to the list view.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD AddGroup(
iGroupId AS LONG,
cGroupName AS STRING,
dwAlign AS DWORD
) AS USUAL
public virtual Usual AddGroup(
int iGroupId,
string cGroupName,
[DefaultParameterValueAttribute(0, 0)] uint dwAlign
)
Request Example
View SourceParameters
- 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 |
---|
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