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

.NET Framework 4.7.2

  • No dependencies.

.NET Standard 2.0

  • No dependencies.

Version Downloads Last updated
2.1.1 2 12/02/2025
2.1.0 1 12/02/2025
2.0.0 12 01/02/2025
2.0.0-ci9 8 01/31/2025
2.0.0-ci60 8 01/31/2025
2.0.0-ci55 10 01/31/2025
2.0.0-ci53 9 01/31/2025
2.0.0-ci16 9 01/31/2025
2.0.0-ci12 9 01/31/2025
2.0.0-ci11 9 01/31/2025
1.1.0-ci73 9 01/31/2025
1.1.0-ci71 11 01/31/2025
1.1.0-ci70 7 01/31/2025
1.1.0-ci68 8 01/31/2025
1.0.13-ci65 7 01/31/2025
1.0.13-ci59 7 01/31/2025
1.0.13-ci57 6 01/31/2025
1.0.12 12 01/31/2025
1.0.12-ci54 7 01/31/2025
1.0.12-ci53 8 01/31/2025
1.0.11 10 01/31/2025
1.0.11-ci50 8 01/31/2025
1.0.11-ci49 9 01/31/2025
1.0.11-ci48 9 01/31/2025
1.0.10 10 01/31/2025
1.0.10-ci45 10 01/31/2025
1.0.10-ci44 10 01/31/2025
1.0.10-ci42 10 01/31/2025
1.0.9 11 01/31/2025
1.0.9-ci40 7 01/31/2025
1.0.9-ci39 8 01/31/2025
1.0.9-ci38 10 01/31/2025
1.0.9-ci37 8 01/31/2025
1.0.8 12 01/31/2025
1.0.8-ci35 9 01/31/2025
1.0.8-ci33 9 01/31/2025
1.0.8-ci32 9 01/31/2025
1.0.8-ci31 8 01/31/2025
1.0.8-ci29 7 01/31/2025
1.0.8-ci28 8 01/31/2025
1.0.8-ci25 7 01/31/2025
1.0.8-ci23 8 01/31/2025
1.0.7 10 01/31/2025
1.0.5 10 01/31/2025
1.0.4 11 01/31/2025
1.0.3 11 01/31/2025
1.0.2-ci14 8 01/31/2025
1.0.1-ci11 6 01/31/2025
1.0.0-ci9 10 01/31/2025