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
795
Unpinned Tab area size
posted

1. Is there any way to reduce the size of the unpinned tab by code?

2. I have three panel docked in left, right and bottom. Is there any way to customize my horizontal and vertical splitter bars with different height and color.

  • 20872
    Suggested Answer
    Offline posted

    Hello,

     

    1.       You could loop through of the collection of DockableControl panes, check the state and if the state is unpinned you can apply different size. You may try the following code snippet:

     

      foreach (DockableControlPane dcp in ultraDockManager1.DockAreas[0].Panes)
                {
                    if (!dcp.Pinned)
                    {
                        dcp.FlyoutSize = new Size(20,20);
                    }
                }

       

    2.       You can change the width, border style, and the appearance of the splitter but I think that this settings will apply to both, horizontal and vertical SplitterBars.

    Change the back color:

    ultraDockManager1.SplitterBarAppearance.BackColor = Color.Purple;

    Change the width:

    ultraDockManager1.SplitterBarWidth = 5;
    Change the BorderStyle:

    ultraDockManager1.BorderStyleSplitterBars = UIElementBorderStyle.Rounded4;

     

    Sincerely,

    Danko Valkov

    Developer Support Engineer

    Infragistics, Inc.