ShowMeTheXAML.MSBuild 2.1.1

dotnet add package ShowMeTheXAML.MSBuild --version 2.1.1
                    
NuGet\Install-Package ShowMeTheXAML.MSBuild -Version 2.1.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ShowMeTheXAML.MSBuild" Version="2.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ShowMeTheXAML.MSBuild" Version="2.1.1" />
                    
Directory.Packages.props
<PackageReference Include="ShowMeTheXAML.MSBuild" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ShowMeTheXAML.MSBuild --version 2.1.1
                    
#r "nuget: ShowMeTheXAML.MSBuild, 2.1.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ShowMeTheXAML.MSBuild@2.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ShowMeTheXAML.MSBuild&version=2.1.1
                    
Install as a Cake Addin
#tool nuget:?package=ShowMeTheXAML.MSBuild&version=2.1.1
                    
Install as a Cake Tool

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>
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on ShowMeTheXAML.MSBuild:

Repository Stars
MaterialDesignInXAML/MaterialDesignInXamlToolkit
Google's Material Design in XAML & WPF, for C# & VB.Net.
HenJigg/wpf-abp
Cross-platform mobile project and WPF client based on ABP framework Xamarin.Forms
lindexi/lindexi_gd
博客用到的代码
Version Downloads Last Updated
2.1.1 799 11/14/2025
2.1.0 330 11/14/2025
2.1.0-ci89 246 11/14/2025
2.1.0-ci87 247 11/14/2025
2.0.0 166,269 10/10/2020
2.0.0-ci9 1,810 10/4/2020
2.0.0-ci60 648 10/10/2020
2.0.0-ci55 565 10/10/2020
2.0.0-ci53 598 10/10/2020
2.0.0-ci16 563 10/6/2020
2.0.0-ci12 519 10/5/2020
2.0.0-ci11 593 10/4/2020
1.1.0-ci73 25,987 2/7/2020
1.1.0-ci71 8,474 10/5/2019
1.1.0-ci70 3,666 7/31/2019
1.1.0-ci68 496 7/30/2019
1.0.13-ci65 782 1/29/2019
1.0.13-ci59 536 1/22/2019
1.0.13-ci57 623 12/17/2018
1.0.12 69,714 12/17/2018
1.0.12-ci54 548 12/17/2018
1.0.12-ci53 610 11/22/2018
1.0.11 1,857 11/22/2018
1.0.11-ci50 581 11/22/2018
1.0.11-ci49 1,273 4/23/2018
1.0.11-ci48 1,133 4/23/2018
1.0.10 16,833 4/23/2018
1.0.10-ci45 1,117 4/3/2018
1.0.10-ci44 1,154 2/9/2018
1.0.10-ci42 1,125 1/10/2018
1.0.9 12,150 1/10/2018
1.0.9-ci40 1,133 1/10/2018
1.0.9-ci39 1,130 1/7/2018
1.0.9-ci38 1,114 12/30/2017
1.0.9-ci37 1,126 12/30/2017
1.0.8 1,907 12/30/2017
1.0.8-ci35 1,167 12/28/2017
1.0.8-ci33 1,132 12/27/2017
1.0.8-ci32 1,136 12/27/2017
1.0.8-ci31 1,131 12/26/2017
1.0.8-ci29 1,149 12/20/2017
1.0.8-ci28 1,131 12/19/2017
1.0.8-ci25 1,111 12/9/2017
1.0.8-ci23 887 12/4/2017
1.0.7 1,669 12/4/2017
1.0.5 1,598 11/29/2017
1.0.4 1,552 11/29/2017
1.0.3 6,116 11/29/2017
1.0.2-ci14 1,116 11/29/2017
1.0.1-ci11 1,094 11/28/2017
1.0.0-ci9 1,152 11/28/2017