This is a migrated thread and some comments may be shown as answers.

Can i Change RadDock menu bar backcolor and height?

2 Answers 130 Views
Dock
This is a migrated thread and some comments may be shown as answers.
jin
Top achievements
Rank 1
Veteran
jin asked on 07 May 2020, 07:56 AM

Hi.

I want change RadDock menu bar back color and height.

I can't speak english very well. 

So I attach the file.

2 Answers, 1 is accepted

Sort by
0
Accepted
Nadya | Tech Support Engineer
Telerik team
answered on 08 May 2020, 02:40 PM
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.

Regards,
Nadya
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.
0
jin
Top achievements
Rank 1
Veteran
answered on 09 May 2020, 11:56 AM

Thank you so much.

It's very helpful!

Tags
Dock
Asked by
jin
Top achievements
Rank 1
Veteran
Answers by
Nadya | Tech Support Engineer
Telerik team
jin
Top achievements
Rank 1
Veteran
Share this question
or