Can i Change RadDock menu bar backcolor and height?

3 posts, 1 answers
  1. jin
    jin avatar
    5 posts
    Member since:
    May 2020

    Posted 07 May 2020 Link to this post


    I want change RadDock menu bar back color and height.

    I can't speak english very well. 

    So I attach the file.

  2. Answer
    Nadya avatar
    459 posts

    Posted 08 May 2020 Link to this post

    Hello Jin,

    In order to achieve this, you should first access the RadPageViewTabStripElement. Then you can get the StripViewItemLayout that holds the tabbed tool windows. Please refer to the following code snippet that demonstrates how you can customize it:
    RadPageViewTabStripElement tapStrp =toolWindow1.TabStrip.TabStripElement as RadPageViewTabStripElement;
    tapStrp.ItemContainer.ItemLayout.BackColor = Color.Red;
    tapStrp.ItemContainer.ItemLayout.GradientStyle = GradientStyles.Solid;
    tapStrp.ItemContainer.ItemLayout.DrawFill = true;
    tapStrp.ItemContainer.ItemLayout.Size = new Size(0, 25);

    I hope this helps. If you need further assistance do not hesitate to contact me.

    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
  3. jin
    jin avatar
    5 posts
    Member since:
    May 2020

    Posted 09 May 2020 in reply to Nadya Link to this post

    Thank you so much.

    It's very helpful!

Back to Top