New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] Add x:Key to Datagrid, ListView style #980
Comments
you can use like this
|
Same problem ! But I just found a solution ! However, I think it can be an improvement to create an |
@NaBian do you have any idea? can we make x:Key = DataGridBaseStyle? |
if you want to custom datagrid style, you can refer to datagrid.small style, it's easy. |
My bad, |
Is 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 ! ^^
The text was updated successfully, but these errors were encountered: