Skip to content

How to Change the Accent for a Custom Control #809

@Camuvingian

Description

@Camuvingian

All, I have created a custom DataGrid and I have styled this using

<Controls:ResourceDataGrid x:Name="resourceDataGrid" 
                           Style="{StaticResource MetroDataGrid}" /> ...

This works great and I have the default MetroStyle colour of cobalt. Now, i change the accent of my entire application according to the example given in the sample application. All windows and MahApp controls change colour but my custom DataGrid remains cobalt (but correctly Metro styled).

Is there an easy way I can update my controls accent without having to 'skin' the control?

Thanks for your time.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions