ListView.SetGroupName Method (Typed) | |
Set the name of a list view group.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD SetGroupName(
iGroupId AS LONG,
cGroupName AS STRING,
dwAlign AS LONG
) AS LOGIC
public virtual bool SetGroupName(
int iGroupId,
string cGroupName,
[DefaultParameterValueAttribute(-1, 0)] int dwAlign
)
Request Example
View SourceParameters
- 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 |
---|
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