ShowMeTheXAML.AvalonEdit 2.1.1

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. You can see it working in the demo application for MaterialDesignInXamlToolkit.

NuGet Status NuGet Status NuGet Status

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
protected override void OnStartup(StartupEventArgs e)
{
    XamlDisplay.Init();
    base.OnStartup(e);
}
  1. (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.
<Application.Resources>
    <ResourceDictionary>
        <ResourceDictionary.MergedDictionaries>
            <ResourceDictionary Source="pack://application:,,,/ShowMeTheXAML.AvalonEdit;component/Themes/xamldisplayer.xaml" />
        </ResourceDictionary.MergedDictionaries>
    </ResourceDictionary>
</Application.Resources>

Usage

<smtx:XamlDisplay UniqueKey="SomeUniqueString">
  <StackPanel>
    <Button Content="Some Content" />
    <TextBlock Text="Text" />
  </StackPanel>
</smtx:XamlDisplay>

No packages depend on ShowMeTheXAML.AvalonEdit.

.NET Framework 4.7.2

.NET 8.0

Version Downloads Last updated
2.1.1 52 11/16/2025
2.1.0 39 11/17/2025
2.1.0-ci89 34 11/17/2025
2.1.0-ci87 41 11/17/2025
2.0.0 77 06/05/2023
2.0.0-ci9 68 12/09/2024
2.0.0-ci60 59 12/04/2024
2.0.0-ci55 52 12/09/2024
2.0.0-ci53 61 12/13/2024
2.0.0-ci16 62 12/02/2024
2.0.0-ci12 61 12/07/2024
2.0.0-ci11 60 12/13/2024
1.1.0-ci73 58 12/08/2024
1.1.0-ci71 68 12/09/2024
1.1.0-ci70 64 12/13/2024
1.1.0-ci68 59 12/06/2024
1.0.13-ci65 44 12/27/2024
1.0.13-ci59 60 12/08/2024
1.0.13-ci57 53 12/27/2024
1.0.12 52 12/14/2024
1.0.12-ci54 67 12/04/2024
1.0.12-ci53 61 12/12/2024
1.0.11 57 12/27/2024
1.0.11-ci50 56 12/19/2024
1.0.11-ci49 60 12/13/2024
1.0.11-ci48 53 12/12/2024
1.0.10 54 12/13/2024
1.0.10-ci45 66 12/09/2024
1.0.10-ci44 66 12/13/2024
1.0.10-ci42 72 12/09/2024
1.0.9 63 12/13/2024
1.0.9-ci40 58 12/08/2024
1.0.9-ci39 52 12/13/2024
1.0.9-ci38 64 12/27/2024
1.0.9-ci37 50 12/12/2024
1.0.8 55 12/08/2024
1.0.8-ci35 60 12/08/2024
1.0.8-ci33 57 12/13/2024
1.0.8-ci32 64 12/20/2024
1.0.8-ci31 59 12/07/2024
1.0.8-ci29 55 12/08/2024
1.0.8-ci28 58 12/15/2024
1.0.8-ci25 53 12/13/2024
1.0.8-ci23 63 12/08/2024
1.0.7 57 12/13/2024
1.0.6-ci17 60 12/19/2024
1.0.5 62 12/12/2024
1.0.5-ci15 64 12/09/2024
1.0.4 60 12/20/2024
1.0.3 62 12/10/2024
1.0.2-ci14 55 12/09/2024
1.0.1-ci11 57 12/15/2024
1.0.1-ci10 56 12/27/2024
1.0.0-ci9 60 12/06/2024