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.