# ShowMeTheXAML
**Repository Path**: yhc2020/ShowMeTheXAML
## Basic Information
- **Project Name**: ShowMeTheXAML
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-05-04
- **Last Updated**: 2021-05-04
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# ShowMeTheXAML
A WPF component making it easy to show the corresponding XAML for WPF custom styles and controls. It was built out of a need to shows the XAML for the theme library [MaterialDesignInXamlToolkit](https://github.com/ButchersBoy/MaterialDesignInXamlToolkit). You can see it working in the [demo application](https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit/releases) for MaterialDesignInXamlToolkit.
[](https://www.nuget.org/packages/ShowMeTheXAML/)
[](https://www.nuget.org/packages/ShowMeTheXAML.MSBuild/)
[](https://www.nuget.org/packages/ShowMeTheXAML.AvalonEdit/)
## Setup
1. Install the MSBuild package. `PM> Install-Package ShowMeTheXAML.MSBuild` This will also install the `ShowMeTheXAML` package as well.
2. Add the following code in your `App.xaml.cs`
```C#
protected override void OnStartup(StartupEventArgs e)
{
XamlDisplay.Init();
base.OnStartup(e);
}
```
3. (Optional) The default template is pretty basic. For a better looking style add the ShowMeTheXAML.AvalonEdit package. `PM> Install-Package ShowMeTheXAML.AvalonEdit`
In App.xaml include the resource dictionary.
```XAML
```
## Usage
```XAML
```