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

RadDiagram theme support

3 Answers 79 Views
Diagram, DiagramRibbonBar, DiagramToolBox
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 08 Feb 2017, 08:38 PM
I am unable to select a theme for the RadDiagram.  I am trying to apply the Windows8Theme, but the dropdown list in the properties windows only shows: Reset and ControlDefault.  I did apply the to the form, but for some reason I can't get it to apply to the diagram.

3 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 09 Feb 2017, 09:13 AM
Hello Daniel,

The themes are not containing any styles for RadDiagram and you cannot select a theme for this control. By default, the diagram has a transparent background. Here is how you can set the background and the grid color:
radDiagram1.BackColor = Color.LightBlue;      
radDiagram1.BackgroundGrid.LineStroke = Brushes.Crimson;
  
I hope this will be useful. Let me know if you have additional questions.

Regards,
Dimitar
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Dan
Top achievements
Rank 1
answered on 09 Feb 2017, 06:46 PM
Thanks Dimitar, Is there a way to change the style of the vertical and horizontal scroll bars?
0
Dimitar
Telerik team
answered on 10 Feb 2017, 11:57 AM
Hello Daniel,

Yes you can set the ThemeName in the code behind:
this.radDiagram1.ThemeName = "TelerikMetro";

I hope this will be useful.

Regards,
Dimitar
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Diagram, DiagramRibbonBar, DiagramToolBox
Asked by
Dan
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Dan
Top achievements
Rank 1
Share this question
or