Gets or sets whether the group is expanded. This is a dependency property.
true if the group is expanded; otherwise, false.
You can prevent a group from being expanded/collapsed via the LayoutGroup.AllowExpand property. In this instance, changing the Expanded property is not in effect. To get the actual expansion state, use the LayoutGroup.IsExpanded property.