It would be nice to be able to simply run a script to generate a markdown file with all of the control styles. The output of the script should be a markdown file that could be included in the wiki
The script should parse all of the files inside of the Themes directory and build up a list of styles and the corresponding control. When parsing it should only consider Style elements and ignore ControlTemplates.
Ideally I would like it to provide an indication of "(default style)" meaning the style that is applied to the control by default. This is indicated by a Style tag that does not explicitly specify an x:Key attribute.
I would expect the output to look something like this (this is just a snippet for the DialogHost and Slider controls):
## DialogHost
- (default style)
- MaterialDesignEmbeddedDialogHost
## Slider
- MaterialDesignSlider (default style)
- MaterialDesignDiscreteSlider
It would be nice to be able to simply run a script to generate a markdown file with all of the control styles. The output of the script should be a markdown file that could be included in the wiki
The script should parse all of the files inside of the Themes directory and build up a list of styles and the corresponding control. When parsing it should only consider Style elements and ignore ControlTemplates.
Ideally I would like it to provide an indication of "(default style)" meaning the style that is applied to the control by default. This is indicated by a Style tag that does not explicitly specify an
x:Keyattribute.I would expect the output to look something like this (this is just a snippet for the DialogHost and Slider controls):