[Question] How to create a Style for DataGrid? #4042
-
How do I create a Style resource for a DataGrid?
I have not found a default style key to use as a basis for a new style |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Hello omnilogix, thank you for your interest in Windows Community Toolkit! I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible.. Other community members may also answer the question and provide feedback 🙌 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@anawishnoff is there any specific doc available that can help guide? |
Beta Was this translation helpful? Give feedback.
-
Here are some docs that help out with editing control templates and creating styles in XAML. To find that default style key, I'd recommend looking at the generic.xaml file (see info here) to find the DataGrid's control template, but I don't see it in that file. @michael-hawker is there a separate location for the control templates of toolkit controls? |
Beta Was this translation helpful? Give feedback.
Here are some docs that help out with editing control templates and creating styles in XAML.
To find that default style key, I'd recommend looking at the generic.xaml file (see info here) to find the DataGrid's control template, but I don't see it in that file. @michael-hawker is there a separate location for the control templates of toolkit controls?