I want to change Accent Color of RadDataGrid which is blue, on changing SystemAccentColor datagrid's accent color is not changing.
How to Change that color mentioned in ScreenShot, wherever blue color is used throughout all the DataGrid's operations.
Thank you.
5 Answers, 1 is accepted
You can find this and other general DataGrid information in the UI for UWP documentation. In the DataGrid section, you will see a node titled "Styling" in which you'll find a DataGrid Telerik Named Brushes article.
Here's a screenshot to guide you:
IMPORTANT:
Please read all of those articles carefully as the steps to override the Telerik Names Brushes must be followed carefully. You need to first have an understanding of how to use Telerik Named Brushed first, then you can know how to override the control's specific brush names.
1 - Read the main Telerik Named Brushes article.
2 - Read the specific control's Telerik Named Brushes article.
Regards,
Lance | Tech Support Engineer, Sr.
Progress Telerik
Thank you for your support, but I have one question related to these brushes which I am not able to understand, from where can I change the accent color of Telerik at one place which overrides the accent brush wherever used in all the Telerik Controls, just like UWP has its theme color changed on overriding only the SystemAccentColor of the application. Similar way I want to override at only one place which changes Blue Color of Telerik in all the controls wherever used.
Thanks.
Thank you for the explanation that you're looking for a brush like SystemAccentColor. There is no single accent brush that is used across all the controls. You'll need to use that specific control's Telerik Named Brushes.
To explain it better, here is a quote from the Telerik Named BRushed article, witht he important part highlighted:
Telerik Named Brushes is a resource naming convention used throughout Telerik UI components. Each brush used in the default ControlTemplates of the controls is uniquely named. This allows developers to easily change the default look of a control without the need to extract and customize the whole ControlTemplate. The benefit of this convention shines when the colors of the default themes (e.g. axis or label color of a chart, hover background color of a radial menu item ...) should be customized. The combination of such convention and the ThemeResource markup extension provides developers access to a flexible customization approach. Following this approach, they can apply the required changes to all controls in an application. The names of the resources used in a UI component are listed in an article named Telerik Named Brushes under the Styling folder of that specific component (e.g. RadDataGrid, RadNumericBox, RadRadialMenu…)
Because these brushes are uniquely named, there is no common brush that spans across all the controls. I hope this helps answer your question.
Regards,
Lance | Tech Support Engineer, Sr.
Progress Telerik
Yes, this helped. Thank you very much.
Do you plan to have that common brush feature for Telerik controls in future updates or releases?? If Yes, then approximately when it would be available?
Thanks.
We don't have any plans to move in this direction because the intention was to allow for independent styling of the controls. If you would like the development team to consider adding this feature, you can add an issue in the UI for UWP repo on GitHub.
Regards,
Lance | Tech Support Engineer, Sr.
Progress Telerik