[Feature request] Add x:Key to Datagrid, ListView style
See original GitHub issueIs your feature request related to a problem? Please describe. I really like the default style of the Datagrid but I can’t make my own default Datagrid Style base on the Handy Control one. I have see that the same problem is present for the ListView style, and maybe some others.
Describe the solution you’d like
It’s possible to add a x:Key = DataGridBaseStyle
(using the default naming of the other BaseStyle) to the DataGrid Style and then make it default <Style TargetType="DataGrid" BaseOn="{StaticRessource DataGridBaseStyle}"/>
Describe alternatives you’ve considered
A first alternative is to make all the changes on the <DataGrid/>
Tag.
But Currently I have litterally copy/paste the default style and made the Changes I wanted.
PS : Sorry for this approximative English ! ^^
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
if you want to custom datagrid style, you can refer to datagrid.small style, it’s easy.
My bad,
ListView
doesn’t have ax:Key
yet 😅😅