Skip to content

Create powershell script to display all control styles in markdown #1174

Description

@Keboo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    HacktoberfestItems are good for new contributors during hacktoberfest. https://hacktoberfest.digitalocean.com/enhancementgood first issueItems are good for new contributors.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions