We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Add GroupViewItem programmatically

Thread ID:





91834 Dec 4,2009 03:14 PM UTC Dec 9,2009 10:22 AM UTC WPF 2
Tags: Tools
Administrator [Syncfusion]
Asked On December 4, 2009 03:14 PM UTC


Is it possible to dynamically add a GroupViewItem to a GroupBarItem?

I do not see any methods or properties on a GroupBarItem which would allow me to add a GroupViewItem. And GroupViewItem's ParentTab property does not have a public setter.

Thanks in advance,

Administrator [Syncfusion]
Replied On December 4, 2009 03:30 PM UTC

Nevermind. Typical I figure it out 10 minutes after my post. The solution is:

GroupBar gb = new GroupBar();
GroupBarItem gbi = gb.AddTab("dynamically added tab");

GroupView gv = new GroupView();

gbi.Content = gv;

GroupViewItem gvi = gv.AddItem();

Padmaja Rajaram [Syncfusion]
Replied On December 9, 2009 10:22 AM UTC

Hi Chad,

We are glad to hear the you found the solution.
Please let us know if you have any other concerns



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon