Change the style of RadDiagramNavigationPane

1 Answer 15 Views
Diagram
Aeroth
Top achievements
Rank 1
Aeroth asked on 26 Jun 2021, 07:21 AM | edited on 28 Jun 2021, 10:46 AM

Hi,

I don't know how to change the style of RadDiagramNavigationPane. I saw the style from your demo and it looks pretty good,

How to do that?

Here is mine and it looks a little ugly....

Apply Fluent Theme,

Thanks!

Regards,

Aeroth

1 Answer, 1 is accepted

Sort by
1
Accepted
Martin Ivanov
Telerik team
answered on 28 Jun 2021, 10:41 AM

Hello Aeroth,

The navigation pane from the demos picture is using the Fluent theme. To get it on your side, you can change the Telerik theme. Read more about this in the Available Themes and Setting a Theme articles.

Regards,
Martin Ivanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Aeroth
Top achievements
Rank 1
commented on 28 Jun 2021, 10:45 AM

Thanks for your response. I do use Fluent Theme, I have no idea why it didn't work.
Martin Ivanov
Telerik team
commented on 28 Jun 2021, 11:00 AM

You will need set the StyleManager.ApplicationTheme property before the InitializeComponent call. This is because the StyleManager approach doesn't support run-time changes of the theme, and the components are already loaded after the method call. 

Aeroth
Top achievements
Rank 1
commented on 28 Jun 2021, 11:04 AM

It works, thanks for your great help!
Aeroth
Top achievements
Rank 1
commented on 28 Jun 2021, 11:16 AM | edited

I have one more question. How to set the tick frequency? (solved)
Martin Ivanov
Telerik team
commented on 30 Jun 2021, 11:17 AM

Do you mean the tick frequency of the RadDiagramRuler? If this is the case, then you can use the Interval property of the corresponding DiagramScaleItemDefinition objects. Read more about this in the Diagram Ruler article.
Aeroth
Top achievements
Rank 1
commented on 30 Jun 2021, 11:26 AM

Yes, I found that article, thanks!
Tags
Diagram
Asked by
Aeroth
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or