ShowMeTheXAML 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>

Showing the top 20 packages that depend on ShowMeTheXAML.

Packages Downloads
ShowMeTheXAML.AvalonEdit
AvalonEdit style for the ShowMeTheXAML XamlDisplay control.
56
ShowMeTheXAML.AvalonEdit
AvalonEdit style for the ShowMeTheXAML XamlDisplay control.
57
ShowMeTheXAML.AvalonEdit
AvalonEdit style for the ShowMeTheXAML XamlDisplay control.
58
ShowMeTheXAML.AvalonEdit
AvalonEdit style for the ShowMeTheXAML XamlDisplay control.
59
ShowMeTheXAML.AvalonEdit
AvalonEdit style for the ShowMeTheXAML XamlDisplay control.
60
ShowMeTheXAML.AvalonEdit
AvalonEdit style for the ShowMeTheXAML XamlDisplay control.
61
ShowMeTheXAML.AvalonEdit
AvalonEdit style for the ShowMeTheXAML XamlDisplay control.
62
ShowMeTheXAML.AvalonEdit
AvalonEdit style for the ShowMeTheXAML XamlDisplay control.
64
ShowMeTheXAML.AvalonEdit
AvalonEdit style for the ShowMeTheXAML XamlDisplay control.
67
ShowMeTheXAML.AvalonEdit
AvalonEdit style for the ShowMeTheXAML XamlDisplay control.
71

.NET Framework 4.7.2

  • No dependencies.

.NET 8.0

  • No dependencies.

Version Downloads Last updated
2.1.1 42 11/17/2025
2.1.0 33 11/18/2025
2.1.0-ci89 43 11/18/2025
2.1.0-ci87 36 11/18/2025
2.0.0 58 09/28/2023
2.0.0-ci9 50 12/09/2024
2.0.0-ci8 51 12/09/2024
2.0.0-ci7 44 12/10/2024
2.0.0-ci60 51 12/15/2024
2.0.0-ci55 44 12/10/2024
2.0.0-ci53 53 12/09/2024
2.0.0-ci16 45 12/10/2024
2.0.0-ci12 51 12/08/2024
2.0.0-ci11 51 12/08/2024
1.1.0-ci78 53 12/15/2024
1.1.0-ci73 54 12/09/2024
1.1.0-ci71 52 12/09/2024
1.1.0-ci70 50 12/09/2024
1.1.0-ci68 49 12/12/2024
1.0.13-ci65 48 05/22/2024
1.0.13-ci59 52 05/22/2024
1.0.13-ci57 46 05/22/2024
1.0.12 54 12/11/2024
1.0.12-ci54 55 05/22/2024
1.0.12-ci53 57 05/22/2024
1.0.11 50 12/08/2024
1.0.11-ci50 48 05/22/2024
1.0.11-ci49 53 05/22/2024
1.0.11-ci48 52 05/22/2024
1.0.10 49 12/09/2024
1.0.10-ci45 52 05/22/2024
1.0.10-ci44 55 05/22/2024
1.0.10-ci42 53 05/22/2024
1.0.9 57 12/08/2024
1.0.9-ci40 52 12/09/2024
1.0.9-ci39 46 12/12/2024
1.0.9-ci38 59 12/12/2024
1.0.9-ci37 48 12/09/2024
1.0.8 49 12/09/2024
1.0.8-ci35 51 12/08/2024
1.0.8-ci33 53 12/09/2024
1.0.8-ci32 52 12/09/2024
1.0.8-ci31 55 12/10/2024
1.0.8-ci29 52 12/09/2024
1.0.8-ci28 41 12/05/2024
1.0.8-ci25 52 12/10/2024
1.0.8-ci23 57 12/15/2024
1.0.7 52 12/12/2024
1.0.7-ci21 50 12/10/2024
1.0.6 58 12/15/2024
1.0.6-ci20 51 12/12/2024
1.0.6-ci19 52 12/09/2024
1.0.6-ci17 54 12/09/2024
1.0.5 48 12/12/2024
1.0.5-ci15 57 12/15/2024
1.0.4 49 12/08/2024
1.0.3 50 12/08/2024
1.0.2-ci14 50 12/10/2024
1.0.1-ci11 50 12/10/2024
1.0.1-ci10 43 12/12/2024
1.0.0-ci9 52 12/12/2024