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.
Setup
- Install the MSBuild package.
PM> Install-Package ShowMeTheXAML.MSBuildThis will also install theShowMeTheXAMLpackage as well. - Add the following code in your
App.xaml.cs
protected override void OnStartup(StartupEventArgs e)
{
XamlDisplay.Init();
base.OnStartup(e);
}
- (Optional) The default template is pretty basic. For a better looking style add the ShowMeTheXAML.AvalonEdit package.
PM> Install-Package ShowMeTheXAML.AvalonEditIn 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.
|
33 |
|
ShowMeTheXAML.AvalonEdit
AvalonEdit style for the ShowMeTheXAML XamlDisplay control.
|
32 |
|
ShowMeTheXAML.MSBuild
ShowMeTheXAML library for providing a simple way to display a control and its corresponding XAML.
|
30 |
|
ShowMeTheXAML.AvalonEdit
AvalonEdit style for the ShowMeTheXAML XamlDisplay control.
|
30 |
|
ShowMeTheXAML.AvalonEdit
AvalonEdit style for the ShowMeTheXAML XamlDisplay control.
|
29 |
|
ShowMeTheXAML.AvalonEdit
AvalonEdit style for the ShowMeTheXAML XamlDisplay control.
|
28 |
|
ShowMeTheXAML.AvalonEdit
AvalonEdit style for the ShowMeTheXAML XamlDisplay control.
|
27 |
.NET Framework 4.7.2
- No dependencies.
.NET 8.0
- No dependencies.
| Version | Downloads | Last updated |
|---|---|---|
| 2.1.1 | 7 | 11/16/2025 |
| 2.1.0 | 7 | 11/16/2025 |
| 2.1.0-ci89 | 6 | 11/17/2025 |
| 2.1.0-ci87 | 6 | 11/16/2025 |
| 2.0.0 | 31 | 3/7/2025 |
| 2.0.0-ci9 | 24 | 3/12/2025 |
| 2.0.0-ci8 | 29 | 3/12/2025 |
| 2.0.0-ci7 | 28 | 3/12/2025 |
| 2.0.0-ci60 | 24 | 3/12/2025 |
| 2.0.0-ci55 | 25 | 3/12/2025 |
| 2.0.0-ci53 | 26 | 3/12/2025 |
| 2.0.0-ci16 | 27 | 3/12/2025 |
| 2.0.0-ci12 | 26 | 3/12/2025 |
| 2.0.0-ci11 | 29 | 3/12/2025 |
| 1.1.0-ci78 | 29 | 3/12/2025 |
| 1.1.0-ci73 | 29 | 3/12/2025 |
| 1.1.0-ci71 | 27 | 3/12/2025 |
| 1.1.0-ci70 | 26 | 3/12/2025 |
| 1.1.0-ci68 | 29 | 3/12/2025 |
| 1.0.13-ci65 | 26 | 3/12/2025 |
| 1.0.13-ci59 | 25 | 3/12/2025 |
| 1.0.13-ci57 | 29 | 3/12/2025 |
| 1.0.12 | 26 | 3/12/2025 |
| 1.0.12-ci54 | 22 | 3/12/2025 |
| 1.0.12-ci53 | 26 | 3/12/2025 |
| 1.0.11 | 28 | 3/12/2025 |
| 1.0.11-ci50 | 24 | 3/12/2025 |
| 1.0.11-ci49 | 26 | 3/12/2025 |
| 1.0.11-ci48 | 24 | 3/12/2025 |
| 1.0.10 | 25 | 3/12/2025 |
| 1.0.10-ci45 | 28 | 3/12/2025 |
| 1.0.10-ci44 | 25 | 3/12/2025 |
| 1.0.10-ci42 | 24 | 3/12/2025 |
| 1.0.9 | 27 | 3/12/2025 |
| 1.0.9-ci40 | 26 | 3/12/2025 |
| 1.0.9-ci39 | 27 | 3/12/2025 |
| 1.0.9-ci38 | 26 | 3/12/2025 |
| 1.0.9-ci37 | 23 | 3/12/2025 |
| 1.0.8 | 24 | 3/12/2025 |
| 1.0.8-ci35 | 26 | 3/12/2025 |
| 1.0.8-ci33 | 30 | 3/12/2025 |
| 1.0.8-ci32 | 26 | 3/12/2025 |
| 1.0.8-ci31 | 26 | 3/12/2025 |
| 1.0.8-ci29 | 24 | 3/12/2025 |
| 1.0.8-ci28 | 27 | 3/12/2025 |
| 1.0.8-ci25 | 29 | 3/12/2025 |
| 1.0.8-ci23 | 30 | 3/12/2025 |
| 1.0.7 | 25 | 3/12/2025 |
| 1.0.7-ci21 | 27 | 3/12/2025 |
| 1.0.6 | 25 | 3/12/2025 |
| 1.0.6-ci20 | 28 | 3/12/2025 |
| 1.0.6-ci19 | 26 | 3/12/2025 |
| 1.0.6-ci17 | 30 | 3/12/2025 |
| 1.0.5 | 30 | 3/12/2025 |
| 1.0.5-ci15 | 27 | 3/12/2025 |
| 1.0.4 | 26 | 3/12/2025 |
| 1.0.3 | 24 | 3/12/2025 |
| 1.0.2-ci14 | 29 | 3/12/2025 |
| 1.0.1-ci11 | 25 | 3/12/2025 |
| 1.0.1-ci10 | 25 | 3/12/2025 |
| 1.0.0-ci9 | 29 | 3/12/2025 |