An open API service indexing awesome lists of open source software.

https://github.com/keboo/showmethexaml

A WPF component making it easy to show the corresponding XAML for WPF custom styles and controls
https://github.com/keboo/showmethexaml

hacktoberfest

Last synced: over 1 year ago
JSON representation

A WPF component making it easy to show the corresponding XAML for WPF custom styles and controls

Awesome Lists containing this project

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.

[![NuGet Status](http://img.shields.io/nuget/v/ShowMeTheXAML.svg?style=flat&label=ShowMeTheXAML)](https://www.nuget.org/packages/ShowMeTheXAML/)
[![NuGet Status](http://img.shields.io/nuget/v/ShowMeTheXAML.MSBuild.svg?style=flat&label=ShowMeTheXAML.MSBuild)](https://www.nuget.org/packages/ShowMeTheXAML.MSBuild/)
[![NuGet Status](http://img.shields.io/nuget/v/ShowMeTheXAML.AvalonEdit.svg?style=flat&label=ShowMeTheXAML.AvalonEdit)](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




```