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.
Unfortunately, activation email could not send to your email. Please try again.

Add GroupViewItem programmatically

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Hello,

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,
Chad


Administrator [Syncfusion]
Replied On December 4, 2009 10:30 AM

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 05:22 AM

Hi Chad,

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

Regards,
Padmaja

CONFIRMATION

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.

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.

;