And also allows to show the expand and collapse state of the group with icon in the group header by customizing the and using the property, which determines whether the group is expanded or collapsed.
You can switch the expand or collapse group icon based on IsExpand property using the BoolToImageConverter converter.
The below code illustrates to define the GroupHeaderTemplate in code behind,
The below screenshots show the Group Header icon is loaded when expanded and collapsed.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|