property Group.Underline as Boolean
Specifies a value that indicates whether the group's caption is underlined.

TypeDescription
Boolean A boolean expression that specifies whether the group's caption is underlined.

Use the Bold, Italic, Underline and StrikeOut properties to apply different font attributes to the group. Use the Caption property to display different parts of the caption using HTML format. Use the Font property to specify the control's font. Use the Underline property to underline an item. 

The following VB sample underlines all groups:

Private Sub ExplorerBar1_AddGroup(ByVal Group As EXPLORERBARLibCtl.IGroup)
    With Group
        .Underline = True
    End With
End Sub

The following C++ sample underlines all groups:

void OnAddGroupExplorerbar1(LPDISPATCH Group) 
{
	CGroup group( Group ); group.m_bAutoRelease = FALSE;
	group.SetUnderline( TRUE );
}

The following VB.NET sample underlines all groups:

Private Sub AxExplorerBar1_AddGroup(ByVal sender As System.Object, ByVal e As AxEXPLORERBARLib._IExplorerBarEvents_AddGroupEvent) Handles AxExplorerBar1.AddGroup
    With e.group
        .Underline = True
    End With
End Sub

The following C# sample underlines all groups:

private void axExplorerBar1_AddGroup(object sender, AxEXPLORERBARLib._IExplorerBarEvents_AddGroupEvent e)
{
	e.group.Underline = true;
}

The following VFP sample underlines all groups:

*** ActiveX Control Event ***
LPARAMETERS group

with group
	.Underline = .t.
endwith