property Group.StrikeOut as Boolean
Specifies whether the group's caption should appear in strikeout.

TypeDescription
Boolean A boolean expression that specifies whether the group's caption should appear in strikeout.

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 StrikeOut property to specify whether the item's font is displayed with a horizontal line through it. Use the <s> HTML tag to specify parts of group's caption that should appear in strikeout, if CaptionFormat property is exHTML.

The following VB sample specify that all groups should appear in strikeout:

Private Sub ListBar1_AddGroup(ByVal Group As EXLISTBARLibCtl.IGroup)
    With Group
        .StrikeOut = True
    End With
End Sub

The following C++ sample specify that all groups should appear in strikeout:

void OnAddGroupListbar1(LPDISPATCH Group) 
{
	CGroup group( Group ); group.m_bAutoRelease = FALSE;
	group.SetStrikeOut( TRUE );
}

The following VB.NET sample specify that all groups should appear in strikeout:

Private Sub AxListBar1_AddGroup(ByVal sender As System.Object, ByVal e As AxEXLISTBARLib._IListBarEvents_AddGroupEvent) Handles AxListBar1.AddGroup
    With e.group
        .StrikeOut = True
    End With
End Sub

The following C# sample specify that all groups should appear in strikeout:

private void axListBar1_AddGroup(object sender, AxEXLISTBARLib._IListBarEvents_AddGroupEvent e)
{
	e.group.StrikeOut = true;
}

The following VFP sample specify that all groups should appear in strikeout:

*** ActiveX Control Event ***
LPARAMETERS group

with group
	.StrikeOut = .t.
endwith