Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
225
add ultratree to ultrawinexplorerbar group
posted

How can I add ultratree control to each group of UltrwinExplorarBar something like  outlllook view

Regards,

Alejandro

Parents
No Data
Reply
  • 71886
    Verified Answer
    Offline posted

    Hello Alejandro,

    You could achieve this by setting the group style to 'ControlContainer' and add the desired control to the controls collection of the groups' container, like this:

            private void Form1_Load(object sender, EventArgs e)

            {

                ultraExplorerBar1.Groups.Add();

                ultraExplorerBar1.Groups.Add();

                ultraExplorerBar1.Groups.Add();

     

                ultraExplorerBar1.GroupSettings.Style = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;

                ultraExplorerBar1.Groups[0].Container.Controls.Add(ultraTree1);

                ultraExplorerBar1.Groups[1].Container.Controls.Add(ultraTree2);

                ultraExplorerBar1.Groups[2].Container.Controls.Add(ultraTree3);

            }

    Please do not hesitate to contact me if you need any additional assistance.

Children