Hi Steve,
Thanks for contacting Syncfusion support.
Query 1 : How do I make a GroupBarItem to be opened by default (ie, in the above code, "Group 1" open on displaying the control).
We suggest you to set the property IsExpanded as true to display all the groupviewitems in the GroupBarItem. Please refer the below code snippet,
|
<syncfusion:GroupBarItem ContentBreadth="0"
ContentLength="0" IsExpanded="True"
HeaderText="Group 1"
ShowInGroupBar="True" > |
Query 2 : Can I do a binding for the OnClick event of the GroupViewItem to an ICommand? I would like to open/change another user control on a different section of the app.
We have checked your query and prepared sample which tries to meet your requirement. In this sample we have bound the SelectedCommand of ViewModel to the SelectionChanged event using EventToCommand class. Please download the sample for the same from below location,
Please get back to us with more details if you are facing any issues with above sample or if we have misunderstood your query or in case of any concern. This would help us to provide solution t earliest.
Regards,
Durga S.