├── docs └── LegoInXamlToolkitDemo.gif ├── LegoInXamlToolkit ├── Assets │ ├── StoreLogo.png │ ├── SplashScreen.scale-200.png │ ├── LockScreenLogo.scale-200.png │ ├── Square44x44Logo.scale-200.png │ ├── Wide310x150Logo.scale-200.png │ ├── Square150x150Logo.scale-200.png │ └── Square44x44Logo.targetsize-24_altform-unplated.png ├── LegoMale2.cs ├── App.xaml ├── project.json ├── LegoPumpkin.cs ├── LegoSanta.cs ├── Properties │ ├── AssemblyInfo.cs │ └── Default.rd.xml ├── LegoFemale.cs ├── LegoMale.cs ├── MainPage.xaml.cs ├── Package.appxmanifest ├── MainPage.xaml ├── App.xaml.cs ├── LegoInXamlToolkit.csproj └── Themes │ └── Generic.xaml ├── README.md ├── LICENSE ├── LegoInXamlToolkit.sln └── .gitignore /docs/LegoInXamlToolkitDemo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ButchersBoy/LegoInXamlToolkit/HEAD/docs/LegoInXamlToolkitDemo.gif -------------------------------------------------------------------------------- /LegoInXamlToolkit/Assets/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ButchersBoy/LegoInXamlToolkit/HEAD/LegoInXamlToolkit/Assets/StoreLogo.png -------------------------------------------------------------------------------- /LegoInXamlToolkit/Assets/SplashScreen.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ButchersBoy/LegoInXamlToolkit/HEAD/LegoInXamlToolkit/Assets/SplashScreen.scale-200.png -------------------------------------------------------------------------------- /LegoInXamlToolkit/Assets/LockScreenLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ButchersBoy/LegoInXamlToolkit/HEAD/LegoInXamlToolkit/Assets/LockScreenLogo.scale-200.png -------------------------------------------------------------------------------- /LegoInXamlToolkit/Assets/Square44x44Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ButchersBoy/LegoInXamlToolkit/HEAD/LegoInXamlToolkit/Assets/Square44x44Logo.scale-200.png -------------------------------------------------------------------------------- /LegoInXamlToolkit/Assets/Wide310x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ButchersBoy/LegoInXamlToolkit/HEAD/LegoInXamlToolkit/Assets/Wide310x150Logo.scale-200.png -------------------------------------------------------------------------------- /LegoInXamlToolkit/Assets/Square150x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ButchersBoy/LegoInXamlToolkit/HEAD/LegoInXamlToolkit/Assets/Square150x150Logo.scale-200.png -------------------------------------------------------------------------------- /LegoInXamlToolkit/Assets/Square44x44Logo.targetsize-24_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ButchersBoy/LegoInXamlToolkit/HEAD/LegoInXamlToolkit/Assets/Square44x44Logo.targetsize-24_altform-unplated.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Lego In XAML Toolkit 2 | 3 | It's Lego. 4 | 5 | It's XAML. 6 | 7 | It's yours! 8 | 9 | What's not to love? 10 | 11 | ![Alt text](docs/LegoInXamlToolkitDemo.gif "Lego In XAML Toolkit") 12 | -------------------------------------------------------------------------------- /LegoInXamlToolkit/LegoMale2.cs: -------------------------------------------------------------------------------- 1 | namespace LegoInXamlToolkit 2 | { 3 | public sealed class LegoMale2 : LegoMale 4 | { 5 | public LegoMale2() 6 | { 7 | DefaultStyleKey = typeof(LegoMale2); 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /LegoInXamlToolkit/App.xaml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /LegoInXamlToolkit/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "Microsoft.NETCore.UniversalWindowsPlatform": "5.1.0" 4 | }, 5 | "frameworks": { 6 | "uap10.0": {} 7 | }, 8 | "runtimes": { 9 | "win10-arm": {}, 10 | "win10-arm-aot": {}, 11 | "win10-x86": {}, 12 | "win10-x86-aot": {}, 13 | "win10-x64": {}, 14 | "win10-x64-aot": {} 15 | } 16 | } -------------------------------------------------------------------------------- /LegoInXamlToolkit/LegoPumpkin.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Runtime.InteropServices.WindowsRuntime; 5 | using Windows.UI.Xaml; 6 | using Windows.UI.Xaml.Controls; 7 | using Windows.UI.Xaml.Data; 8 | using Windows.UI.Xaml.Documents; 9 | using Windows.UI.Xaml.Input; 10 | using Windows.UI.Xaml.Media; 11 | 12 | // The Templated Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234235 13 | 14 | namespace LegoInXamlToolkit 15 | { 16 | public sealed class LegoPumpkin : Control 17 | { 18 | public LegoPumpkin() 19 | { 20 | this.DefaultStyleKey = typeof(LegoPumpkin); 21 | Loaded += (sender, args) => VisualStateManager.GoToState(this, "Loaded", true); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /LegoInXamlToolkit/LegoSanta.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Runtime.InteropServices.WindowsRuntime; 5 | using Windows.UI.Xaml; 6 | using Windows.UI.Xaml.Controls; 7 | using Windows.UI.Xaml.Data; 8 | using Windows.UI.Xaml.Documents; 9 | using Windows.UI.Xaml.Input; 10 | using Windows.UI.Xaml.Media; 11 | 12 | // The Templated Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234235 13 | 14 | namespace LegoInXamlToolkit 15 | { 16 | public sealed class LegoSanta : Control 17 | { 18 | public LegoSanta() 19 | { 20 | this.DefaultStyleKey = typeof(LegoSanta); 21 | PointerEntered += (sender, args) => VisualStateManager.GoToState(this, "PointerOver", true); 22 | PointerExited += (sender, args) => VisualStateManager.GoToState(this, "Normal", true); 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016 James Willock 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /LegoInXamlToolkit/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Lego In XAML Toolkit")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Lego In XAML Toolkit")] 13 | [assembly: AssemblyCopyright("Copyright © 2016")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /LegoInXamlToolkit/LegoFemale.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Runtime.InteropServices.WindowsRuntime; 5 | using Windows.UI.Xaml; 6 | using Windows.UI.Xaml.Controls; 7 | using Windows.UI.Xaml.Data; 8 | using Windows.UI.Xaml.Documents; 9 | using Windows.UI.Xaml.Input; 10 | using Windows.UI.Xaml.Media; 11 | 12 | // The Templated Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234235 13 | 14 | namespace LegoInXamlToolkit 15 | { 16 | public sealed class LegoFemale : Control 17 | { 18 | public LegoFemale() 19 | { 20 | this.DefaultStyleKey = typeof(LegoFemale); 21 | PointerEntered += (sender, args) => VisualStateManager.GoToState(this, "PointerOver", true); 22 | PointerExited += (sender, args) => VisualStateManager.GoToState(this, "Normal", true); 23 | } 24 | 25 | public static readonly DependencyProperty FillProperty = DependencyProperty.Register( 26 | "Fill", typeof(Brush), typeof(LegoFemale), new PropertyMetadata(default(Brush))); 27 | 28 | public Brush Fill 29 | { 30 | get { return (Brush) GetValue(FillProperty); } 31 | set { SetValue(FillProperty, value); } 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /LegoInXamlToolkit/LegoMale.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Runtime.InteropServices.WindowsRuntime; 5 | using Windows.UI.Xaml; 6 | using Windows.UI.Xaml.Controls; 7 | using Windows.UI.Xaml.Data; 8 | using Windows.UI.Xaml.Documents; 9 | using Windows.UI.Xaml.Input; 10 | using Windows.UI.Xaml.Media; 11 | 12 | // The Templated Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234235 13 | 14 | namespace LegoInXamlToolkit 15 | { 16 | public class LegoMale : Control 17 | { 18 | public LegoMale() 19 | { 20 | this.DefaultStyleKey = typeof(LegoMale); 21 | PointerEntered += (sender, args) => VisualStateManager.GoToState(this, "PointerOver", true); 22 | PointerExited += (sender, args) => VisualStateManager.GoToState(this, "Normal", true); 23 | } 24 | 25 | public static readonly DependencyProperty FillProperty = DependencyProperty.Register( 26 | "Fill", typeof(Brush), typeof(LegoMale), new PropertyMetadata(default(Brush))); 27 | 28 | public Brush Fill 29 | { 30 | get { return (Brush) GetValue(FillProperty); } 31 | set { SetValue(FillProperty, value); } 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /LegoInXamlToolkit/MainPage.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Runtime.InteropServices.WindowsRuntime; 6 | using Windows.Foundation; 7 | using Windows.Foundation.Collections; 8 | using Windows.UI.Xaml; 9 | using Windows.UI.Xaml.Controls; 10 | using Windows.UI.Xaml.Controls.Primitives; 11 | using Windows.UI.Xaml.Data; 12 | using Windows.UI.Xaml.Input; 13 | using Windows.UI.Xaml.Media; 14 | using Windows.UI.Xaml.Navigation; 15 | 16 | // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409 17 | 18 | namespace LegoInXamlToolkit 19 | { 20 | /// 21 | /// An empty page that can be used on its own or navigated to within a Frame. 22 | /// 23 | public sealed partial class MainPage : Page 24 | { 25 | public MainPage() 26 | { 27 | this.InitializeComponent(); 28 | } 29 | 30 | private void MenuButton_OnClick(object sender, RoutedEventArgs e) 31 | { 32 | var button = (ButtonBase) sender; 33 | var contentType = button.Content.GetType(); 34 | var instance = (Control)Activator.CreateInstance(contentType); 35 | instance.Margin = new Thickness(32); 36 | SplitView.Content = instance; 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /LegoInXamlToolkit/Properties/Default.rd.xml: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /LegoInXamlToolkit/Package.appxmanifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | LegoInXamlToolkit 7 | james 8 | Assets\StoreLogo.png 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /LegoInXamlToolkit.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LegoInXamlToolkit", "LegoInXamlToolkit\LegoInXamlToolkit.csproj", "{4BBB38B0-C865-4661-A83A-59082D2B4B1D}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|ARM = Debug|ARM 11 | Debug|x64 = Debug|x64 12 | Debug|x86 = Debug|x86 13 | Release|ARM = Release|ARM 14 | Release|x64 = Release|x64 15 | Release|x86 = Release|x86 16 | EndGlobalSection 17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 18 | {4BBB38B0-C865-4661-A83A-59082D2B4B1D}.Debug|ARM.ActiveCfg = Debug|ARM 19 | {4BBB38B0-C865-4661-A83A-59082D2B4B1D}.Debug|ARM.Build.0 = Debug|ARM 20 | {4BBB38B0-C865-4661-A83A-59082D2B4B1D}.Debug|ARM.Deploy.0 = Debug|ARM 21 | {4BBB38B0-C865-4661-A83A-59082D2B4B1D}.Debug|x64.ActiveCfg = Debug|x64 22 | {4BBB38B0-C865-4661-A83A-59082D2B4B1D}.Debug|x64.Build.0 = Debug|x64 23 | {4BBB38B0-C865-4661-A83A-59082D2B4B1D}.Debug|x64.Deploy.0 = Debug|x64 24 | {4BBB38B0-C865-4661-A83A-59082D2B4B1D}.Debug|x86.ActiveCfg = Debug|x86 25 | {4BBB38B0-C865-4661-A83A-59082D2B4B1D}.Debug|x86.Build.0 = Debug|x86 26 | {4BBB38B0-C865-4661-A83A-59082D2B4B1D}.Debug|x86.Deploy.0 = Debug|x86 27 | {4BBB38B0-C865-4661-A83A-59082D2B4B1D}.Release|ARM.ActiveCfg = Release|ARM 28 | {4BBB38B0-C865-4661-A83A-59082D2B4B1D}.Release|ARM.Build.0 = Release|ARM 29 | {4BBB38B0-C865-4661-A83A-59082D2B4B1D}.Release|ARM.Deploy.0 = Release|ARM 30 | {4BBB38B0-C865-4661-A83A-59082D2B4B1D}.Release|x64.ActiveCfg = Release|x64 31 | {4BBB38B0-C865-4661-A83A-59082D2B4B1D}.Release|x64.Build.0 = Release|x64 32 | {4BBB38B0-C865-4661-A83A-59082D2B4B1D}.Release|x64.Deploy.0 = Release|x64 33 | {4BBB38B0-C865-4661-A83A-59082D2B4B1D}.Release|x86.ActiveCfg = Release|x86 34 | {4BBB38B0-C865-4661-A83A-59082D2B4B1D}.Release|x86.Build.0 = Release|x86 35 | {4BBB38B0-C865-4661-A83A-59082D2B4B1D}.Release|x86.Deploy.0 = Release|x86 36 | EndGlobalSection 37 | GlobalSection(SolutionProperties) = preSolution 38 | HideSolutionNode = FALSE 39 | EndGlobalSection 40 | EndGlobal 41 | -------------------------------------------------------------------------------- /LegoInXamlToolkit/MainPage.xaml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 13 | 14 | 15 | 16 | 17 | 20 | 21 | 22 | 23 | 26 | 27 | 28 | 29 | 32 | 33 | 34 | 35 | 38 | 39 | 40 | 41 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /LegoInXamlToolkit/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Runtime.InteropServices.WindowsRuntime; 6 | using Windows.ApplicationModel; 7 | using Windows.ApplicationModel.Activation; 8 | using Windows.Foundation; 9 | using Windows.Foundation.Collections; 10 | using Windows.UI.Xaml; 11 | using Windows.UI.Xaml.Controls; 12 | using Windows.UI.Xaml.Controls.Primitives; 13 | using Windows.UI.Xaml.Data; 14 | using Windows.UI.Xaml.Input; 15 | using Windows.UI.Xaml.Media; 16 | using Windows.UI.Xaml.Navigation; 17 | 18 | namespace LegoInXamlToolkit 19 | { 20 | /// 21 | /// Provides application-specific behavior to supplement the default Application class. 22 | /// 23 | sealed partial class App : Application 24 | { 25 | /// 26 | /// Initializes the singleton application object. This is the first line of authored code 27 | /// executed, and as such is the logical equivalent of main() or WinMain(). 28 | /// 29 | public App() 30 | { 31 | this.InitializeComponent(); 32 | this.Suspending += OnSuspending; 33 | } 34 | 35 | /// 36 | /// Invoked when the application is launched normally by the end user. Other entry points 37 | /// will be used such as when the application is launched to open a specific file. 38 | /// 39 | /// Details about the launch request and process. 40 | protected override void OnLaunched(LaunchActivatedEventArgs e) 41 | { 42 | #if DEBUG 43 | if (System.Diagnostics.Debugger.IsAttached) 44 | { 45 | //this.DebugSettings.EnableFrameRateCounter = true; 46 | } 47 | #endif 48 | Frame rootFrame = Window.Current.Content as Frame; 49 | 50 | // Do not repeat app initialization when the Window already has content, 51 | // just ensure that the window is active 52 | if (rootFrame == null) 53 | { 54 | // Create a Frame to act as the navigation context and navigate to the first page 55 | rootFrame = new Frame(); 56 | 57 | rootFrame.NavigationFailed += OnNavigationFailed; 58 | 59 | if (e.PreviousExecutionState == ApplicationExecutionState.Terminated) 60 | { 61 | //TODO: Load state from previously suspended application 62 | } 63 | 64 | // Place the frame in the current Window 65 | Window.Current.Content = rootFrame; 66 | } 67 | 68 | if (e.PrelaunchActivated == false) 69 | { 70 | if (rootFrame.Content == null) 71 | { 72 | // When the navigation stack isn't restored navigate to the first page, 73 | // configuring the new page by passing required information as a navigation 74 | // parameter 75 | rootFrame.Navigate(typeof(MainPage), e.Arguments); 76 | } 77 | // Ensure the current window is active 78 | Window.Current.Activate(); 79 | } 80 | } 81 | 82 | /// 83 | /// Invoked when Navigation to a certain page fails 84 | /// 85 | /// The Frame which failed navigation 86 | /// Details about the navigation failure 87 | void OnNavigationFailed(object sender, NavigationFailedEventArgs e) 88 | { 89 | throw new Exception("Failed to load Page " + e.SourcePageType.FullName); 90 | } 91 | 92 | /// 93 | /// Invoked when application execution is being suspended. Application state is saved 94 | /// without knowing whether the application will be terminated or resumed with the contents 95 | /// of memory still intact. 96 | /// 97 | /// The source of the suspend request. 98 | /// Details about the suspend request. 99 | private void OnSuspending(object sender, SuspendingEventArgs e) 100 | { 101 | var deferral = e.SuspendingOperation.GetDeferral(); 102 | //TODO: Save application state and stop any background activity 103 | deferral.Complete(); 104 | } 105 | } 106 | } 107 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | 4 | # User-specific files 5 | *.suo 6 | *.user 7 | *.userosscache 8 | *.sln.docstates 9 | 10 | # User-specific files (MonoDevelop/Xamarin Studio) 11 | *.userprefs 12 | 13 | # Build results 14 | [Dd]ebug/ 15 | [Dd]ebugPublic/ 16 | [Rr]elease/ 17 | [Rr]eleases/ 18 | x64/ 19 | x86/ 20 | bld/ 21 | [Bb]in/ 22 | [Oo]bj/ 23 | [Ll]og/ 24 | 25 | # Visual Studio 2015 cache/options directory 26 | .vs/ 27 | # Uncomment if you have tasks that create the project's static files in wwwroot 28 | #wwwroot/ 29 | 30 | # MSTest test Results 31 | [Tt]est[Rr]esult*/ 32 | [Bb]uild[Ll]og.* 33 | 34 | # NUNIT 35 | *.VisualState.xml 36 | TestResult.xml 37 | 38 | # Build Results of an ATL Project 39 | [Dd]ebugPS/ 40 | [Rr]eleasePS/ 41 | dlldata.c 42 | 43 | # DNX 44 | project.lock.json 45 | artifacts/ 46 | 47 | *_i.c 48 | *_p.c 49 | *_i.h 50 | *.ilk 51 | *.meta 52 | *.obj 53 | *.pch 54 | *.pdb 55 | *.pgc 56 | *.pgd 57 | *.rsp 58 | *.sbr 59 | *.tlb 60 | *.tli 61 | *.tlh 62 | *.tmp 63 | *.tmp_proj 64 | *.log 65 | *.vspscc 66 | *.vssscc 67 | .builds 68 | *.pidb 69 | *.svclog 70 | *.scc 71 | 72 | # Chutzpah Test files 73 | _Chutzpah* 74 | 75 | # Visual C++ cache files 76 | ipch/ 77 | *.aps 78 | *.ncb 79 | *.opendb 80 | *.opensdf 81 | *.sdf 82 | *.cachefile 83 | *.VC.db 84 | *.VC.VC.opendb 85 | 86 | # Visual Studio profiler 87 | *.psess 88 | *.vsp 89 | *.vspx 90 | *.sap 91 | 92 | # TFS 2012 Local Workspace 93 | $tf/ 94 | 95 | # Guidance Automation Toolkit 96 | *.gpState 97 | 98 | # ReSharper is a .NET coding add-in 99 | _ReSharper*/ 100 | *.[Rr]e[Ss]harper 101 | *.DotSettings.user 102 | 103 | # JustCode is a .NET coding add-in 104 | .JustCode 105 | 106 | # TeamCity is a build add-in 107 | _TeamCity* 108 | 109 | # DotCover is a Code Coverage Tool 110 | *.dotCover 111 | 112 | # NCrunch 113 | _NCrunch_* 114 | .*crunch*.local.xml 115 | nCrunchTemp_* 116 | 117 | # MightyMoose 118 | *.mm.* 119 | AutoTest.Net/ 120 | 121 | # Web workbench (sass) 122 | .sass-cache/ 123 | 124 | # Installshield output folder 125 | [Ee]xpress/ 126 | 127 | # DocProject is a documentation generator add-in 128 | DocProject/buildhelp/ 129 | DocProject/Help/*.HxT 130 | DocProject/Help/*.HxC 131 | DocProject/Help/*.hhc 132 | DocProject/Help/*.hhk 133 | DocProject/Help/*.hhp 134 | DocProject/Help/Html2 135 | DocProject/Help/html 136 | 137 | # Click-Once directory 138 | publish/ 139 | 140 | # Publish Web Output 141 | *.[Pp]ublish.xml 142 | *.azurePubxml 143 | # TODO: Comment the next line if you want to checkin your web deploy settings 144 | # but database connection strings (with potential passwords) will be unencrypted 145 | *.pubxml 146 | *.publishproj 147 | 148 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 149 | # checkin your Azure Web App publish settings, but sensitive information contained 150 | # in these scripts will be unencrypted 151 | PublishScripts/ 152 | 153 | # NuGet Packages 154 | *.nupkg 155 | # The packages folder can be ignored because of Package Restore 156 | **/packages/* 157 | # except build/, which is used as an MSBuild target. 158 | !**/packages/build/ 159 | # Uncomment if necessary however generally it will be regenerated when needed 160 | #!**/packages/repositories.config 161 | # NuGet v3's project.json files produces more ignoreable files 162 | *.nuget.props 163 | *.nuget.targets 164 | 165 | # Microsoft Azure Build Output 166 | csx/ 167 | *.build.csdef 168 | 169 | # Microsoft Azure Emulator 170 | ecf/ 171 | rcf/ 172 | 173 | # Windows Store app package directories and files 174 | AppPackages/ 175 | BundleArtifacts/ 176 | Package.StoreAssociation.xml 177 | _pkginfo.txt 178 | 179 | # Visual Studio cache files 180 | # files ending in .cache can be ignored 181 | *.[Cc]ache 182 | # but keep track of directories ending in .cache 183 | !*.[Cc]ache/ 184 | 185 | # Others 186 | ClientBin/ 187 | ~$* 188 | *~ 189 | *.dbmdl 190 | *.dbproj.schemaview 191 | *.pfx 192 | *.publishsettings 193 | node_modules/ 194 | orleans.codegen.cs 195 | 196 | # Since there are multiple workflows, uncomment next line to ignore bower_components 197 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 198 | #bower_components/ 199 | 200 | # RIA/Silverlight projects 201 | Generated_Code/ 202 | 203 | # Backup & report files from converting an old project file 204 | # to a newer Visual Studio version. Backup files are not needed, 205 | # because we have git ;-) 206 | _UpgradeReport_Files/ 207 | Backup*/ 208 | UpgradeLog*.XML 209 | UpgradeLog*.htm 210 | 211 | # SQL Server files 212 | *.mdf 213 | *.ldf 214 | 215 | # Business Intelligence projects 216 | *.rdl.data 217 | *.bim.layout 218 | *.bim_*.settings 219 | 220 | # Microsoft Fakes 221 | FakesAssemblies/ 222 | 223 | # GhostDoc plugin setting file 224 | *.GhostDoc.xml 225 | 226 | # Node.js Tools for Visual Studio 227 | .ntvs_analysis.dat 228 | 229 | # Visual Studio 6 build log 230 | *.plg 231 | 232 | # Visual Studio 6 workspace options file 233 | *.opt 234 | 235 | # Visual Studio LightSwitch build output 236 | **/*.HTMLClient/GeneratedArtifacts 237 | **/*.DesktopClient/GeneratedArtifacts 238 | **/*.DesktopClient/ModelManifest.xml 239 | **/*.Server/GeneratedArtifacts 240 | **/*.Server/ModelManifest.xml 241 | _Pvt_Extensions 242 | 243 | # Paket dependency manager 244 | .paket/paket.exe 245 | paket-files/ 246 | 247 | # FAKE - F# Make 248 | .fake/ 249 | 250 | # JetBrains Rider 251 | .idea/ 252 | *.sln.iml 253 | -------------------------------------------------------------------------------- /LegoInXamlToolkit/LegoInXamlToolkit.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | x86 7 | {4BBB38B0-C865-4661-A83A-59082D2B4B1D} 8 | AppContainerExe 9 | Properties 10 | LegoInXamlToolkit 11 | LegoInXamlToolkit 12 | en-US 13 | UAP 14 | 10.0.14393.0 15 | 10.0.14393.0 16 | 14 17 | 512 18 | {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 19 | LegoInXamlToolkit_TemporaryKey.pfx 20 | 21 | 22 | true 23 | bin\x86\Debug\ 24 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP 25 | ;2008 26 | full 27 | x86 28 | false 29 | prompt 30 | true 31 | 32 | 33 | bin\x86\Release\ 34 | TRACE;NETFX_CORE;WINDOWS_UWP 35 | true 36 | ;2008 37 | pdbonly 38 | x86 39 | false 40 | prompt 41 | true 42 | true 43 | 44 | 45 | true 46 | bin\ARM\Debug\ 47 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP 48 | ;2008 49 | full 50 | ARM 51 | false 52 | prompt 53 | true 54 | 55 | 56 | bin\ARM\Release\ 57 | TRACE;NETFX_CORE;WINDOWS_UWP 58 | true 59 | ;2008 60 | pdbonly 61 | ARM 62 | false 63 | prompt 64 | true 65 | true 66 | 67 | 68 | true 69 | bin\x64\Debug\ 70 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP 71 | ;2008 72 | full 73 | x64 74 | false 75 | prompt 76 | true 77 | 78 | 79 | bin\x64\Release\ 80 | TRACE;NETFX_CORE;WINDOWS_UWP 81 | true 82 | ;2008 83 | pdbonly 84 | x64 85 | false 86 | prompt 87 | true 88 | true 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | App.xaml 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | MainPage.xaml 105 | 106 | 107 | 108 | 109 | 110 | Designer 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | MSBuild:Compile 127 | Designer 128 | 129 | 130 | MSBuild:Compile 131 | Designer 132 | 133 | 134 | MSBuild:Compile 135 | Designer 136 | 137 | 138 | 139 | 14.0 140 | 141 | 142 | 149 | -------------------------------------------------------------------------------- /LegoInXamlToolkit/Themes/Generic.xaml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 99 | 100 | 147 | 148 | 196 | 197 | 233 | 234 | 306 | 307 | --------------------------------------------------------------------------------