• Stars
    star
    176
  • Rank 215,936 (Top 5 %)
  • Language
    C#
  • License
    MIT License
  • Created almost 7 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A WPF component making it easy to show the corresponding XAML for WPF custom styles and controls

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>

More Repositories

1

MaterialDesignInXaml.Examples

A collection of small samples using MaterialDesignInXaml.
C#
398
star
2

AutoDI

Dependency injection made simple.
C#
96
star
3

XAMLTest

A purpose build library for testing XAML styles and templates in isolation.
C#
38
star
4

PebbleSharp

A C# library for interacting with the Pebble smart watch
C#
27
star
5

Xamarin.Forms.Proxy

A proxy PCL class with access to Xamarin.Forms internal members to allow for easier extension of the library.
C#
18
star
6

ColorKraken

A simple theme editor for GitKraken
C#
13
star
7

PyImageSearchSharp

A collection of C# projects translated from Adrian Rosebrock excellent python examples using OpenCV
C#
9
star
8

DotnetTemplates

A repository for my dotnet templates
C#
8
star
9

SimplyBudget

C#
8
star
10

PointerStar

A simple pointing poker implementation
C#
7
star
11

BrainTeasers

A collection of brain teasers and spot-the-bug problems
6
star
12

YoutubeDownloader

A simple WPF application build on top of https://github.com/flagbug/YoutubeExtractor
C#
6
star
13

NosePlug

Sometimes you have to test code that smells.
C#
5
star
14

Sciuridae

A system for deploying apps with Squirrel
C#
4
star
15

Snoop.Interactive

A experient to bring dotnet interactive and snoop together
C#
4
star
16

GitHubHelper

A simple command line utility to automate GitHub interaction
C#
4
star
17

MSBuilding

C#
3
star
18

ExampleFodyWeaver

A simple example building a Fody weaver that injects Debug.WriteLine calls showing each method invocation.
C#
3
star
19

TimeLogger

A little CLI for loggign time in Toggl
C#
3
star
20

Calamities

A simple repository that does very very bad things with C#
C#
3
star
21

SimplyView

An app for me to watch my camera
C#
3
star
22

YouTubeSubtitles

A place for me to keep subtitles for my youtube videos. http://youtube.kitokeboo.com
C#
3
star
23

ReSharperTemplates

A repository for keeping track of R# templates
3
star
24

WindowEx

A dotnot global tool for managing windows
C#
2
star
25

CodingChallenges

A simple repo of coding brain teasers, puzzles, and practice tests
HTML
2
star
26

UnitTestHelpers

Some hlper classes to make unit testing easier.
C#
2
star
27

AutoDI.Examples

A collection of samples showing AutoDI usage.
C#
2
star
28

Binder

A WPF binding that allow for dynamic conditional parsing.
C#
2
star
29

MutatingStringsBrainTeaser

A brain teaser for mutating strings in C#
C#
2
star
30

StreamingTools

A place where I store scripts and tools I use for streaming and video creation
C#
2
star
31

XfAnimationEffects

An example of using Xamarin.Forms effects to get native animations
C#
2
star
32

AutoTyper

A little CLI app for automatically typing what is on the clipboard
C#
1
star
33

MockU

A mocking library
C#
1
star
34

ModuleInitializer

A simple command line utility to invoke a method from the module initializer
C#
1
star
35

Keboo

1
star
36

UnitTesting

A small example repository used for a lunch and learn discussion at IntelliTect on unit testing.
C#
1
star
37

TwitchSample

A sample doing OAuth with Twitch
C#
1
star
38

4TheRecord

Demo'ing a data grid issue i am running into.
C#
1
star
39

gh-ext-pipelines

1
star
40

XamarinFormsExample

C#
1
star
41

Projecteuler

My solutions to problems on Projecteuler.com
C#
1
star
42

TableIT

C#
1
star
43

StreamSubtitles

A simple test app for using Azure speech to text to create subtitles for Streamlabs OBS
C#
1
star
44

Thumbhash.NET

A .NET implementation of evanw's thumbhash
C#
1
star
45

SimplyBudget-Sample

A simple budgeting app.
C#
1
star
46

RegexEx

A simpler way to handle regex with compile time checking.
1
star
47

hello-github-actions

1
star