property Group.AllowExpand as Boolean
Specifies whether the group can be expanded or collapsed.

TypeDescription
Boolean A boolean expression that indicates whether the group ca be expanded or collapsed. 

Use the AllowExpand property to disable expanding or collapsing a group. Use the Expanded property to expand or collapse programmatically a group. Use the ExpandOnClick property to specify whether the user can expand or collapse the groups by clicking the caption of the group. The control fires BeforeExpandItem event before expanding or collapsing the group. The ExpandGroup event is fired after user expands a group.