The response has been limited to 50k tokens of the smallest files in the repo. You can remove this limitation by removing the max tokens filter.
├── .gitattributes
├── .gitignore
├── 1.0
    └── FirstFloor.ModernUI
    │   ├── Binaries
    │       └── Microsoft.Windows.Shell.dll
    │   ├── Build
    │       ├── Binaries
    │       │   └── MSBuild.Community.Tasks.dll
    │       ├── Build.bat
    │       ├── ModernUI.WPF.nuspec
    │       └── ModernUI.msbuild
    │   ├── FirstFloor.ModernUI.App
    │       ├── App.config
    │       ├── App.xaml
    │       ├── App.xaml.cs
    │       ├── Assets
    │       │   ├── ModernUI.BingImage.xaml
    │       │   ├── ModernUI.HelloKitty.xaml
    │       │   ├── ModernUI.Love.xaml
    │       │   ├── ModernUI.Snowflakes.xaml
    │       │   ├── appbar.add.xaml
    │       │   ├── appbar.adobe.bridge.xaml
    │       │   ├── appbar.arrow.collapsed.xaml
    │       │   ├── appbar.arrow.corner.up.right.xaml
    │       │   ├── appbar.arrow.down.xaml
    │       │   ├── appbar.arrow.expand.xaml
    │       │   ├── appbar.box.xaml
    │       │   ├── appbar.camera.flash.off.xaml
    │       │   ├── appbar.camera.flash.xaml
    │       │   ├── appbar.camera.xaml
    │       │   ├── appbar.cards.club.xaml
    │       │   ├── appbar.cards.diamond.xaml
    │       │   ├── appbar.cards.heart.xaml
    │       │   ├── appbar.cards.spade.xaml
    │       │   ├── appbar.check.xaml
    │       │   ├── background.kitty.png
    │       │   ├── background.love.jpg
    │       │   └── background.snowflakes.jpg
    │       ├── BingImage.cs
    │       ├── Content
    │       │   ├── ContentLoaderImages.xaml
    │       │   ├── ContentLoaderImages.xaml.cs
    │       │   ├── ContentLoaderIntro.xaml
    │       │   ├── ContentLoaderIntro.xaml.cs
    │       │   ├── ControlsModernBBCodeBlock.xaml
    │       │   ├── ControlsModernBBCodeBlock.xaml.cs
    │       │   ├── ControlsModernButton.xaml
    │       │   ├── ControlsModernButton.xaml.cs
    │       │   ├── ControlsModernDialog.xaml
    │       │   ├── ControlsModernDialog.xaml.cs
    │       │   ├── ControlsModernFrame.xaml
    │       │   ├── ControlsModernFrame.xaml.cs
    │       │   ├── ControlsModernMenu.xaml
    │       │   ├── ControlsModernMenu.xaml.cs
    │       │   ├── ControlsModernProgressRing.xaml
    │       │   ├── ControlsModernProgressRing.xaml.cs
    │       │   ├── ControlsModernWindow.xaml
    │       │   ├── ControlsModernWindow.xaml.cs
    │       │   ├── ControlsStylesButton.xaml
    │       │   ├── ControlsStylesButton.xaml.cs
    │       │   ├── ControlsStylesDataGrid.xaml
    │       │   ├── ControlsStylesDataGrid.xaml.cs
    │       │   ├── ControlsStylesDate.xaml
    │       │   ├── ControlsStylesDate.xaml.cs
    │       │   ├── ControlsStylesItemsControl.xaml
    │       │   ├── ControlsStylesItemsControl.xaml.cs
    │       │   ├── ControlsStylesProgressBar.xaml
    │       │   ├── ControlsStylesProgressBar.xaml.cs
    │       │   ├── ControlsStylesSampleForm.xaml
    │       │   ├── ControlsStylesSampleForm.xaml.cs
    │       │   ├── ControlsStylesSlider.xaml
    │       │   ├── ControlsStylesSlider.xaml.cs
    │       │   ├── ControlsStylesText.xaml
    │       │   ├── ControlsStylesText.xaml.cs
    │       │   ├── LoremIpsum.xaml
    │       │   ├── LoremIpsum.xaml.cs
    │       │   ├── LoremIpsumList.xaml
    │       │   ├── LoremIpsumList.xaml.cs
    │       │   ├── LoremIpsumSplit.xaml
    │       │   ├── LoremIpsumSplit.xaml.cs
    │       │   ├── ModernFrame
    │       │   │   ├── CancelNavigateSample.xaml
    │       │   │   ├── CancelNavigateSample.xaml.cs
    │       │   │   ├── ErrorSample.xaml
    │       │   │   ├── ErrorSample.xaml.cs
    │       │   │   ├── Sample.xaml
    │       │   │   └── Sample.xaml.cs
    │       │   ├── SettingsAppearance.xaml
    │       │   ├── SettingsAppearance.xaml.cs
    │       │   └── SettingsAppearanceViewModel.cs
    │       ├── FirstFloor.ModernUI.App.csproj
    │       ├── FirstFloor.ModernUI.App.csproj.vspscc
    │       ├── FlickrImageLoader.cs
    │       ├── LoremIpsumLoader.cs
    │       ├── MainWindow.xaml
    │       ├── MainWindow.xaml.cs
    │       ├── Pages
    │       │   ├── ContentLoader.xaml
    │       │   ├── ContentLoader.xaml.cs
    │       │   ├── ControlsModern.xaml
    │       │   ├── ControlsModern.xaml.cs
    │       │   ├── ControlsStyles.xaml
    │       │   ├── ControlsStyles.xaml.cs
    │       │   ├── DpiAwareness.xaml
    │       │   ├── DpiAwareness.xaml.cs
    │       │   ├── DpiAwarenessViewModel.cs
    │       │   ├── Introduction.xaml
    │       │   ├── Introduction.xaml.cs
    │       │   ├── LayoutBasic.xaml
    │       │   ├── LayoutBasic.xaml.cs
    │       │   ├── LayoutList.xaml
    │       │   ├── LayoutList.xaml.cs
    │       │   ├── LayoutSplit.xaml
    │       │   ├── LayoutSplit.xaml.cs
    │       │   ├── LayoutTab.xaml
    │       │   ├── LayoutTab.xaml.cs
    │       │   ├── LayoutWireframe.xaml
    │       │   ├── LayoutWireframe.xaml.cs
    │       │   ├── Navigation.xaml
    │       │   ├── Navigation.xaml.cs
    │       │   ├── Settings.xaml
    │       │   └── Settings.xaml.cs
    │       ├── Properties
    │       │   ├── AssemblyInfo.cs
    │       │   ├── Resources.Designer.cs
    │       │   ├── Resources.resx
    │       │   ├── Settings.Designer.cs
    │       │   └── Settings.settings
    │       ├── SampleDisabledCommand.cs
    │       ├── SampleFormViewModel.cs
    │       ├── SampleMsgBoxCommand.cs
    │       └── SampleParameterCommand.cs
    │   ├── FirstFloor.ModernUI.Templates
    │       ├── ModernUI.App
    │       │   ├── App.xaml
    │       │   ├── App.xaml.cs
    │       │   ├── MainWindow.xaml
    │       │   ├── MainWindow.xaml.cs
    │       │   ├── ModernUI.App.csproj
    │       │   ├── ModernUI.App.csproj.vspscc
    │       │   ├── ModernUI.App.ico
    │       │   ├── ModernUI.App.vstemplate
    │       │   ├── ProjectTemplate.csproj
    │       │   └── Properties
    │       │   │   └── AssemblyInfo.cs
    │       ├── ModernUI.BasicPage
    │       │   ├── BasicPage.xaml
    │       │   ├── BasicPage.xaml.cs
    │       │   ├── ModernUI.BasicPage.csproj
    │       │   ├── ModernUI.BasicPage.csproj.vspscc
    │       │   ├── ModernUI.BasicPage.ico
    │       │   ├── ModernUI.BasicPage.vstemplate
    │       │   └── Properties
    │       │   │   └── AssemblyInfo.cs
    │       ├── ModernUI.ListPage
    │       │   ├── ListPage.xaml
    │       │   ├── ListPage.xaml.cs
    │       │   ├── ModernUI.ListPage.csproj
    │       │   ├── ModernUI.ListPage.csproj.vspscc
    │       │   ├── ModernUI.ListPage.ico
    │       │   ├── ModernUI.ListPage.vstemplate
    │       │   └── Properties
    │       │   │   └── AssemblyInfo.cs
    │       ├── ModernUI.ModernDialog
    │       │   ├── ModernDialog.xaml
    │       │   ├── ModernDialog.xaml.cs
    │       │   ├── ModernUI.ModernDialog.csproj
    │       │   ├── ModernUI.ModernDialog.csproj.vspscc
    │       │   ├── ModernUI.ModernDialog.ico
    │       │   ├── ModernUI.ModernDialog.vstemplate
    │       │   └── Properties
    │       │   │   └── AssemblyInfo.cs
    │       ├── ModernUI.ModernWindow
    │       │   ├── ModernUI.ModernWindow.csproj
    │       │   ├── ModernUI.ModernWindow.csproj.vspscc
    │       │   ├── ModernUI.ModernWindow.ico
    │       │   ├── ModernUI.ModernWindow.vstemplate
    │       │   ├── ModernWindow.xaml
    │       │   ├── ModernWindow.xaml.cs
    │       │   └── Properties
    │       │   │   └── AssemblyInfo.cs
    │       ├── ModernUI.NavigationApp
    │       │   ├── App.xaml
    │       │   ├── App.xaml.cs
    │       │   ├── Content
    │       │   │   ├── About.xaml
    │       │   │   ├── About.xaml.cs
    │       │   │   ├── SettingsAppearance.xaml
    │       │   │   ├── SettingsAppearance.xaml.cs
    │       │   │   └── SettingsAppearanceViewModel.cs
    │       │   ├── MainWindow.xaml
    │       │   ├── MainWindow.xaml.cs
    │       │   ├── ModernUI.NavigationApp.csproj
    │       │   ├── ModernUI.NavigationApp.csproj.vspscc
    │       │   ├── ModernUI.NavigationApp.ico
    │       │   ├── ModernUI.NavigationApp.vstemplate
    │       │   ├── Pages
    │       │   │   ├── Home.xaml
    │       │   │   ├── Home.xaml.cs
    │       │   │   ├── Settings
    │       │   │   │   ├── About.xaml
    │       │   │   │   ├── About.xaml.cs
    │       │   │   │   ├── Appearance.xaml
    │       │   │   │   ├── Appearance.xaml.cs
    │       │   │   │   └── AppearanceViewModel.cs
    │       │   │   ├── SettingsPage.xaml
    │       │   │   └── SettingsPage.xaml.cs
    │       │   ├── ProjectTemplate.csproj
    │       │   └── Properties
    │       │   │   └── AssemblyInfo.cs
    │       ├── ModernUI.SplitPage
    │       │   ├── ModernUI.SplitPage.csproj
    │       │   ├── ModernUI.SplitPage.csproj.vspscc
    │       │   ├── ModernUI.SplitPage.ico
    │       │   ├── ModernUI.SplitPage.vstemplate
    │       │   ├── Properties
    │       │   │   └── AssemblyInfo.cs
    │       │   ├── SplitPage.xaml
    │       │   └── SplitPage.xaml.cs
    │       ├── ModernUI.TabPage
    │       │   ├── ModernUI.TabPage.csproj
    │       │   ├── ModernUI.TabPage.csproj.vspscc
    │       │   ├── ModernUI.TabPage.ico
    │       │   ├── ModernUI.TabPage.vstemplate
    │       │   ├── Properties
    │       │   │   └── AssemblyInfo.cs
    │       │   ├── TabPage.xaml
    │       │   └── TabPage.xaml.cs
    │       ├── ModernUI.Templates.sln
    │       ├── ModernUI.Templates.vssscc
    │       ├── ModernUI.Templates
    │       │   ├── License.txt
    │       │   ├── ModernUI.Templates.csproj
    │       │   ├── ModernUI.Templates.csproj.vspscc
    │       │   ├── ModernUI.icon.png
    │       │   ├── ModernUI.preview.png
    │       │   ├── Properties
    │       │   │   └── AssemblyInfo.cs
    │       │   └── source.extension.vsixmanifest
    │       └── ModernUI.Theme
    │       │   ├── ModernUI.Theme.csproj
    │       │   ├── ModernUI.Theme.csproj.vspscc
    │       │   ├── ModernUI.Theme.ico
    │       │   ├── ModernUI.Theme.vstemplate
    │       │   ├── ModernUI.Theme.xaml
    │       │   └── Properties
    │       │       └── AssemblyInfo.cs
    │   ├── FirstFloor.ModernUI.WPF4
    │       ├── Assets
    │       │   └── ModernWindowStyles.xaml
    │       ├── FirstFloor.ModernUI.WPF4.csproj
    │       ├── FirstFloor.ModernUI.WPF4.csproj.vspscc
    │       └── Themes
    │       │   ├── ModernDialog.xaml
    │       │   └── ModernWindow.xaml
    │   ├── FirstFloor.ModernUI.sln
    │   ├── FirstFloor.ModernUI.vssscc
    │   ├── FirstFloor.ModernUI
    │       ├── Assets
    │       │   └── ModernWindowStyles.xaml
    │       ├── FirstFloor.ModernUI.csproj
    │       ├── FirstFloor.ModernUI.csproj.vspscc
    │       └── Themes
    │       │   ├── ModernDialog.xaml
    │       │   └── ModernWindow.xaml
    │   ├── License.RelativeAnimatingContentControl.txt
    │   ├── License.icons.txt
    │   ├── License.txt
    │   ├── ReadMe.txt
    │   └── Shared
    │       ├── Assets
    │           ├── Button.xaml
    │           ├── Calendar.xaml
    │           ├── CheckBox.xaml
    │           ├── ComboBox.xaml
    │           ├── ContextMenu.xaml
    │           ├── Converters.xaml
    │           ├── DataGrid.xaml
    │           ├── DatePicker.xaml
    │           ├── GridSplitter.xaml
    │           ├── Hyperlink.xaml
    │           ├── Label.xaml
    │           ├── ListBox.xaml
    │           ├── ListView.xaml
    │           ├── MenuItem.xaml
    │           ├── ModernProgressRingStyles.xaml
    │           ├── ModernUI.Dark.xaml
    │           ├── ModernUI.Light.xaml
    │           ├── ModernUI.xaml
    │           ├── PasswordBox.xaml
    │           ├── ProgressBar.xaml
    │           ├── RadioButton.xaml
    │           ├── ScrollBar.xaml
    │           ├── Slider.xaml
    │           ├── TextBlock.xaml
    │           ├── TextBox.xaml
    │           ├── ToolTip.xaml
    │           └── TreeView.xaml
    │       ├── ModernUIHelper.cs
    │       ├── Presentation
    │           ├── AppearanceManager.cs
    │           ├── CommandBase.cs
    │           ├── Displayable.cs
    │           ├── FontSize.cs
    │           ├── Link.cs
    │           ├── LinkCollection.cs
    │           ├── LinkGroup.cs
    │           ├── LinkGroupCollection.cs
    │           ├── NotifyPropertyChanged.cs
    │           ├── ReadOnlyLinkGroupCollection.cs
    │           └── RelayCommand.cs
    │       ├── ProcessDpiAwareness.cs
    │       ├── Properties
    │           └── AssemblyInfo.cs
    │       ├── Resources.Designer.cs
    │       ├── Resources.fr.Designer.cs
    │       ├── Resources.fr.resx
    │       ├── Resources.it.Designer.cs
    │       ├── Resources.it.resx
    │       ├── Resources.pl.Designer.cs
    │       ├── Resources.pl.resx
    │       ├── Resources.resx
    │       ├── Resources.ru.Designer.cs
    │       ├── Resources.ru.resx
    │       ├── Shared.projitems
    │       ├── Shared.shproj
    │       ├── Themes
    │           ├── BBCodeBlock.xaml
    │           ├── Generic.xaml
    │           ├── ModernButton.xaml
    │           ├── ModernFrame.xaml
    │           ├── ModernMenu.xaml
    │           ├── ModernProgressRing.xaml
    │           ├── ModernTab.xaml
    │           ├── ModernToggleButton.xaml
    │           └── TransitioningContentControl.xaml
    │       ├── Win32
    │           ├── MonitorDpiType.cs
    │           ├── NativeMethods.cs
    │           ├── OSVersionHelper.cs
    │           └── RECT.cs
    │       └── Windows
    │           ├── CommandDictionary.cs
    │           ├── Controls
    │               ├── BBCode
    │               │   ├── BBCodeLexer.cs
    │               │   ├── BBCodeParser.cs
    │               │   ├── CharBuffer.cs
    │               │   ├── Lexer.cs
    │               │   ├── ParseException.cs
    │               │   ├── Parser.cs
    │               │   ├── Token.cs
    │               │   └── TokenBuffer.cs
    │               ├── BBCodeBlock.cs
    │               ├── DataGridCheckBoxColumn.cs
    │               ├── DataGridComboBoxColumn.cs
    │               ├── DataGridTextColumn.cs
    │               ├── DpiAwareWindow.cs
    │               ├── DpiInformation.cs
    │               ├── ModernButton.cs
    │               ├── ModernDialog.cs
    │               ├── ModernFrame.cs
    │               ├── ModernMenu.cs
    │               ├── ModernProgressRing.cs
    │               ├── ModernTab.cs
    │               ├── ModernToggleButton.cs
    │               ├── ModernWindow.cs
    │               ├── RelativeAnimatingContentControl.cs
    │               ├── SourceEventArgs.cs
    │               ├── TabLayout.cs
    │               └── TransitioningContentControl.cs
    │           ├── Converters
    │               ├── BooleanToFontWeightConverter.cs
    │               ├── BooleanToVisibilityConverter.cs
    │               ├── NullOrEmptyStringToVisibilityConverter.cs
    │               ├── NullToVisibilityConverter.cs
    │               ├── ToLowerConverter.cs
    │               └── ToUpperConverter.cs
    │           ├── DefaultContentLoader.cs
    │           ├── IContent.cs
    │           ├── IContentLoader.cs
    │           ├── Media
    │               └── VisualTreeHelperEx.cs
    │           └── Navigation
    │               ├── DefaultLinkNavigator.cs
    │               ├── FragmentNavigationEventArgs.cs
    │               ├── ILinkNavigator.cs
    │               ├── LinkCommands.cs
    │               ├── NavigatingCancelEventArgs.cs
    │               ├── NavigationBaseEventArgs.cs
    │               ├── NavigationEventArgs.cs
    │               ├── NavigationFailedEventArgs.cs
    │               ├── NavigationHelper.cs
    │               └── NavigationType.cs
├── LICENSE.md
└── README.md


/.gitattributes:
--------------------------------------------------------------------------------
1 | *.sln text eol=crlf
2 | *.cs text eol=crlf
3 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Binaries/Microsoft.Windows.Shell.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/firstfloorsoftware/mui/cbd78931b5ffd1a77c8a82a423100e11015203c2/1.0/FirstFloor.ModernUI/Binaries/Microsoft.Windows.Shell.dll


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Build/Binaries/MSBuild.Community.Tasks.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/firstfloorsoftware/mui/cbd78931b5ffd1a77c8a82a423100e11015203c2/1.0/FirstFloor.ModernUI/Build/Binaries/MSBuild.Community.Tasks.dll


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Build/Build.bat:
--------------------------------------------------------------------------------
1 | msbuild ModernUI.msbuild /v:minimal


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Build/ModernUI.WPF.nuspec:
--------------------------------------------------------------------------------
 1 | <?xml version="1.0" encoding="utf-8"?>
 2 | <package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
 3 |   <metadata>
 4 |     <id>ModernUI.WPF</id>
 5 |     <version>1.0.9</version>
 6 |     <title>ModernUI for WPF</title>
 7 |     <authors>First Floor Software</authors>
 8 |     <owners>First Floor Software</owners>
 9 |     <licenseUrl>https://github.com/firstfloorsoftware/mui/blob/master/LICENSE.md</licenseUrl>
10 |     <iconUrl>http://firstfloorsoftware.com/media/github/mui/mui-icon.png</iconUrl>
11 |     <projectUrl>https://github.com/firstfloorsoftware/mui</projectUrl>
12 |     <requireLicenseAcceptance>false</requireLicenseAcceptance>
13 |     <description>A set of controls and styles converting your WPF application into a great looking Modern UI app.</description>
14 |     <summary />
15 |     <copyright>Copyright 2013-2016 First Floor Software</copyright>
16 |     <tags>modern ui, metro, wpf</tags>
17 |   </metadata>
18 |   <files>
19 |     <file src="Output\Temp\FirstFloor.ModernUI.dll" target="lib\net45\FirstFloor.ModernUI.dll" />
20 |     <file src="Output\Temp\FirstFloor.ModernUI.XML" target="lib\net45\FirstFloor.ModernUI.XML" />
21 |     <file src="Output\Temp\net40\FirstFloor.ModernUI.dll" target="lib\net40\FirstFloor.ModernUI.dll" />
22 |     <file src="Output\Temp\net40\FirstFloor.ModernUI.XML" target="lib\net40\FirstFloor.ModernUI.XML" />
23 |     <file src="Output\Temp\net40\Microsoft.Windows.Shell.dll" target="lib\net40\Microsoft.Windows.Shell.dll" />
24 |   </files>
25 | </package>


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/App.config:
--------------------------------------------------------------------------------
1 | <?xml version="1.0" encoding="utf-8" ?>
2 | <configuration>
3 |     <startup> 
4 |         <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
5 |     </startup>
6 | </configuration>


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/App.xaml:
--------------------------------------------------------------------------------
 1 | <Application x:Class="FirstFloor.ModernUI.App.App"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              StartupUri="MainWindow.xaml">
 5 |     <Application.Resources>
 6 |         <ResourceDictionary>
 7 |             <ResourceDictionary.MergedDictionaries>
 8 |                 <ResourceDictionary Source="/FirstFloor.ModernUI;component/Assets/ModernUI.xaml" />
 9 |                 <ResourceDictionary Source="/FirstFloor.ModernUI;component/Assets/ModernUI.Light.xaml" />
10 |             </ResourceDictionary.MergedDictionaries>
11 | 
12 |             
13 |         </ResourceDictionary>
14 |     </Application.Resources>
15 | </Application>
16 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/App.xaml.cs:
--------------------------------------------------------------------------------
 1 | using FirstFloor.ModernUI.Presentation;
 2 | using FirstFloor.ModernUI.Windows.Controls;
 3 | using System;
 4 | using System.Collections.Generic;
 5 | using System.Configuration;
 6 | using System.Data;
 7 | using System.Linq;
 8 | using System.Threading.Tasks;
 9 | using System.Windows;
10 | 
11 | namespace FirstFloor.ModernUI.App
12 | {
13 |     /// <summary>
14 |     /// Interaction logic for App.xaml
15 |     /// </summary>
16 |     public partial class App : Application
17 |     {
18 |         /// <summary>
19 |         /// Raises the <see cref="E:System.Windows.Application.Startup"/> event.
20 |         /// </summary>
21 |         /// <param name="e">A <see cref="T:System.Windows.StartupEventArgs"/> that contains the event data.</param>
22 |         protected override void OnStartup(StartupEventArgs e)
23 |         {
24 |             base.OnStartup(e);
25 |         }
26 |     }
27 | }
28 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/ModernUI.BingImage.xaml:
--------------------------------------------------------------------------------
 1 | <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 2 |                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 3 |                     xmlns:mui="http://firstfloorsoftware.com/ModernUI"
 4 |                     xmlns:local="clr-namespace:FirstFloor.ModernUI.App">
 5 | 
 6 |     <ResourceDictionary.MergedDictionaries>
 7 |         <ResourceDictionary Source="/FirstFloor.ModernUI;component/Assets/ModernUI.Light.xaml" />
 8 |     </ResourceDictionary.MergedDictionaries>
 9 | 
10 |     <Rectangle x:Key="WindowBackgroundContent" x:Shared="false" >
11 |         <Rectangle.Fill>
12 |             <ImageBrush local:BingImage.UseBingImage="True" Opacity=".3" Stretch="UniformToFill" />
13 |         </Rectangle.Fill>
14 |     </Rectangle>
15 | 
16 | </ResourceDictionary>


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/ModernUI.HelloKitty.xaml:
--------------------------------------------------------------------------------
 1 | <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 2 |                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 3 |                     xmlns:mui="http://firstfloorsoftware.com/ModernUI">
 4 | 
 5 |     <ResourceDictionary.MergedDictionaries>
 6 |         <ResourceDictionary Source="/FirstFloor.ModernUI;component/Assets/ModernUI.Light.xaml" />
 7 |     </ResourceDictionary.MergedDictionaries>
 8 | 
 9 |     <Color x:Key="AccentColor">#f472d0</Color>
10 | 
11 |     <Rectangle x:Key="WindowBackgroundContent" x:Shared="false" Margin="32">
12 |         <Rectangle.Fill>
13 |             <ImageBrush Opacity=".1" ImageSource="/Assets/background.kitty.png" Stretch="None"  AlignmentX="Right" AlignmentY="Bottom" />
14 |         </Rectangle.Fill>
15 |     </Rectangle>
16 | 
17 | </ResourceDictionary>


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/ModernUI.Love.xaml:
--------------------------------------------------------------------------------
 1 | <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 2 |                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 3 |                     xmlns:mui="http://firstfloorsoftware.com/ModernUI">
 4 | 
 5 |     <ResourceDictionary.MergedDictionaries>
 6 |         <ResourceDictionary Source="/FirstFloor.ModernUI;component/Assets/ModernUI.Dark.xaml" />
 7 |     </ResourceDictionary.MergedDictionaries>
 8 | 
 9 |     <Color x:Key="AccentColor">#e51400</Color>
10 | 
11 |     <!-- background image taken from http://good-wallpapers.com/ -->
12 |     <Rectangle x:Key="WindowBackgroundContent" x:Shared="false">
13 |         <Rectangle.Fill>
14 |             <ImageBrush Opacity=".1" ImageSource="/Assets/background.love.jpg" Stretch="UniformToFill" />
15 |         </Rectangle.Fill>
16 |     </Rectangle>
17 | 
18 | </ResourceDictionary>


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/ModernUI.Snowflakes.xaml:
--------------------------------------------------------------------------------
 1 | <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 2 |                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 3 |                     xmlns:mui="http://firstfloorsoftware.com/ModernUI">
 4 | 
 5 |     <ResourceDictionary.MergedDictionaries>
 6 |         <ResourceDictionary Source="/FirstFloor.ModernUI;component/Assets/ModernUI.Light.xaml" />
 7 |     </ResourceDictionary.MergedDictionaries>
 8 | 
 9 |     <Color x:Key="AccentColor">#0082AD</Color>
10 | 
11 |     <!-- background image taken from http://good-wallpapers.com/ -->
12 |     <Rectangle x:Key="WindowBackgroundContent" x:Shared="false">
13 |         <Rectangle.Fill>
14 |             <ImageBrush Opacity=".2" ImageSource="/Assets/background.snowflakes.jpg" Stretch="UniformToFill" />
15 |         </Rectangle.Fill>
16 |     </Rectangle>
17 | 
18 | </ResourceDictionary>


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/appbar.add.xaml:
--------------------------------------------------------------------------------
1 | <?xml version="1.0" encoding="utf-8"?>
2 | <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_add" Width="76" Height="76" Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
3 | 	<Path Width="38" Height="38" Canvas.Left="19" Canvas.Top="19" Stretch="Fill" Fill="#FF000000" Data="F1 M 35,19L 41,19L 41,35L 57,35L 57,41L 41,41L 41,57L 35,57L 35,41L 19,41L 19,35L 35,35L 35,19 Z "/>
4 | </Canvas>
5 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/appbar.adobe.bridge.xaml:
--------------------------------------------------------------------------------
1 | <?xml version="1.0" encoding="utf-8"?>
2 | <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_adobe_bridge" Width="76" Height="76" Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
3 | 	<Path Width="37.6799" Height="30.6256" Canvas.Left="21.2627" Canvas.Top="21.9519" Stretch="Fill" Fill="#FF000000" Data="F1 M 21.2627,22.5768C 23.0038,22.22 26.1733,21.9519 29.2537,21.9519C 33.3163,21.9519 35.8163,22.4432 37.8692,23.872C 39.7452,24.9873 40.995,26.952 40.995,29.4966C 40.995,32.2643 39.2544,34.8089 35.9945,36.0142L 35.9945,36.1042C 39.1644,36.9077 42.0667,39.4078 42.0667,43.5598C 42.0667,46.2376 40.9055,48.3363 39.1644,49.7643C 37.0216,51.6395 33.4949,52.5775 28.0035,52.5775C 24.9676,52.5775 22.647,52.3534 21.2627,52.1757L 21.2627,22.5768 Z M 26.7087,26.238L 26.7087,34.4522L 29.5214,34.4522C 33.3163,34.4522 35.4591,32.6661 35.4591,30.122C 35.4591,27.3088 33.3163,26.0144 29.8345,26.0144C 28.2271,26.0144 27.2899,26.1035 26.7087,26.238 Z M 26.7087,48.2913C 27.424,48.4254 28.3616,48.4254 29.6109,48.4254C 33.1381,48.4254 36.2621,47.0865 36.2621,43.3808C 36.2621,39.8986 33.2276,38.4702 29.4323,38.4702L 26.7087,38.4702L 26.7087,48.2913 Z M 51.7097,34.6749C 52.7813,31.5949 55.325,30.0324 57.6478,30.0324L 58.9426,30.166L 58.9426,35.3448C 58.4954,35.2557 58.0046,35.1666 57.3342,35.1666C 54.7006,35.1666 52.9154,36.8627 52.4237,39.3178L 52.2455,41.0148L 52.2455,52.2648L 46.755,52.2648L 46.755,37.5326C 46.755,34.5862 46.7091,32.4875 46.5751,30.5237L 51.3524,30.5237L 51.5311,34.6749L 51.7097,34.6749 Z "/>
4 | </Canvas>
5 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/appbar.arrow.collapsed.xaml:
--------------------------------------------------------------------------------
1 | <?xml version="1.0" encoding="utf-8"?>
2 | <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_arrow_collapsed" Width="76" Height="76" Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
3 | 	<Path Width="40.5" Height="40.5" Canvas.Left="17.75" Canvas.Top="17.7501" Stretch="Fill" Fill="#FF000000" Data="F1 M 54.2499,34L 42,34L 42,21.7501L 45.9999,17.7501L 45.9999,26.7501L 53.9999,18.7501L 57.2499,22.0001L 49.2499,30.0001L 58.2499,30.0001L 54.2499,34 Z M 34,21.7501L 34,34L 21.75,34L 17.75,30.0001L 26.75,30.0001L 18.75,22.0001L 22,18.7501L 30,26.7501L 30,17.7501L 34,21.7501 Z M 21.75,42L 34,42L 34,54.25L 30,58.25L 30,49.25L 22,57.25L 18.75,54L 26.75,46L 17.75,46L 21.75,42 Z M 42,54.25L 42,42L 54.2499,42L 58.2499,46L 49.2499,46.0001L 57.2499,54L 53.9999,57.25L 45.9999,49.25L 45.9999,58.25L 42,54.25 Z "/>
4 | </Canvas>
5 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/appbar.arrow.corner.up.right.xaml:
--------------------------------------------------------------------------------
1 | <?xml version="1.0" encoding="utf-8"?>
2 | <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_arrow_corner_up_right" Width="76" Height="76" Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
3 | 	<Path Width="40.25" Height="40" Canvas.Left="22" Canvas.Top="19" Stretch="Fill" Fill="#FF000000" Data="F1 M 22,30L 47.75,30L 36.75,19L 48.25,19L 62.25,33L 47.25,48L 36.75,48L 47.75,37L 29,37L 29,59L 22,59L 22,30 Z "/>
4 | </Canvas>
5 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/appbar.arrow.down.xaml:
--------------------------------------------------------------------------------
1 | <?xml version="1.0" encoding="utf-8"?>
2 | <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_arrow_down" Width="76" Height="76" Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
3 | 	<Path Width="28" Height="39.25" Canvas.Left="24" Canvas.Top="19.0002" Stretch="Fill" Fill="#FF000000" Data="F1 M 42,19.0002L 34,19.0002L 34,43.7502L 24,33.7502L 24,44.2502L 38,58.2502L 52,44.2502L 52,33.7502L 42,43.7502L 42,19.0002 Z "/>
4 | </Canvas>
5 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/appbar.arrow.expand.xaml:
--------------------------------------------------------------------------------
1 | <?xml version="1.0" encoding="utf-8"?>
2 | <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_arrow_expand" Width="76" Height="76" Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
3 | 	<Path Width="40" Height="40" Canvas.Left="18" Canvas.Top="18" Stretch="Fill" Fill="#FF000000" Data="F1 M 30.25,58L 18,58L 18,45.75L 22,41.75L 22,50.75L 30,42.75L 33.25,46L 25.25,54L 34.25,54L 30.25,58 Z M 58,45.75L 58,58L 45.75,58L 41.75,54L 50.75,54L 42.75,46L 46,42.75L 54,50.75L 54,41.75L 58,45.75 Z M 45.75,18L 58,18L 58,30.25L 54,34.25L 54,25.25L 46,33.25L 42.75,30L 50.75,22L 41.75,22L 45.75,18 Z M 18,30.25L 18,18L 30.25,18L 34.25,22L 25.25,22L 33.25,30L 30,33.25L 22,25.25L 22,34.25L 18,30.25 Z "/>
4 | </Canvas>
5 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/appbar.box.xaml:
--------------------------------------------------------------------------------
1 | <?xml version="1.0" encoding="utf-8"?>
2 | <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_box" Width="76" Height="76" Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
3 | 	<Path Width="38" Height="38" Canvas.Left="19" Canvas.Top="19" Stretch="Fill" Fill="#FF000000" Data="F1 M 38,19L 57,28.5L 57,47.5L 38,57L 19,47.5L 19,28.5L 38,19 Z M 22.1667,30.0833L 22.1667,45.9167L 25.3333,47.5L 36.4167,53.0417L 36.4167,37.2083L 22.1667,30.0833 Z M 50.6666,47.5L 53.8333,45.9167L 53.8333,30.0833L 39.5833,37.2083L 39.5833,53.0417L 50.6666,47.5 Z M 38,22.1667L 25.3333,28.5L 38,34.8334L 50.6666,28.5L 38,22.1667 Z "/>
4 | </Canvas>
5 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/appbar.camera.flash.off.xaml:
--------------------------------------------------------------------------------
1 | <?xml version="1.0" encoding="utf-8"?>
2 | <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_camera_flash_off" Width="76" Height="76" Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
3 | 	<Path Width="38.7918" Height="41.1693" Canvas.Left="18.2082" Canvas.Top="18.9974" Stretch="Fill" Fill="#FF000000" Data="F1 M 52.2519,18.9974L 38,34.8333L 50.6666,34.8333L 25.3315,60.1667L 34.8333,39.5833L 23.7499,39.5833L 36.4164,18.9974L 52.2519,18.9974 Z M 18.2082,20.5834L 23.7499,20.5834L 29.6874,26.5209L 27.3124,29.6876L 18.2082,20.5834 Z M 42.75,45.9167L 45.9166,42.75L 57,53.8333L 53.8333,56.9999L 42.75,45.9167 Z "/>
4 | </Canvas>
5 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/appbar.camera.flash.xaml:
--------------------------------------------------------------------------------
1 | <?xml version="1.0" encoding="utf-8"?>
2 | <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_camera_flash" Width="76" Height="76" Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
3 | 	<Path Width="28.502" Height="41.1693" Canvas.Left="23.75" Canvas.Top="18.9974" Stretch="Fill" Fill="#FF000000" Data="F1 M 52.252,18.9974L 38,34.8333L 50.6667,34.8333L 25.3316,60.1667L 34.8333,39.5833L 23.75,39.5833L 36.4164,18.9974L 52.252,18.9974 Z "/>
4 | </Canvas>
5 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/appbar.camera.xaml:
--------------------------------------------------------------------------------
1 | <?xml version="1.0" encoding="utf-8"?>
2 | <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_camera" Width="76" Height="76" Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
3 | 	<Path Width="35.9999" Height="29.0001" Canvas.Left="20" Canvas.Top="22" Stretch="Fill" Fill="#FF000000" Data="F1 M 30,27C 30,24.3766 32.3767,22 35,22L 41,22C 43.6234,22 46,24.3766 46,27L 50.9999,27.0001C 53.7613,27.0001 55.9999,29.2387 55.9999,32.0001L 55.9999,46.0001C 55.9999,48.7615 53.7613,51.0001 50.9999,51.0001L 25,51.0001C 22.2385,51.0001 20,48.7615 20,46.0001L 20,32.0001C 20,29.2387 22.2385,27.0001 25,27.0001L 30,27 Z M 25.5,30C 24.6716,30 24,30.8954 24,32C 24,33.1046 24.6716,34 25.5,34C 26.3284,34 27,33.1046 27,32C 27,30.8954 26.3284,30 25.5,30 Z M 38,32C 34.134,32 31,35.134 31,39C 31,42.866 34.134,46 38,46C 41.866,46 45,42.866 45,39C 45,35.134 41.866,32 38,32 Z M 38,34.5C 40.4853,34.5 42.5,36.5147 42.5,39C 42.5,41.4853 40.4853,43.5 38,43.5C 35.5147,43.5 33.5,41.4853 33.5,39C 33.5,36.5147 35.5147,34.5 38,34.5 Z "/>
4 | </Canvas>
5 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/appbar.cards.club.xaml:
--------------------------------------------------------------------------------
1 | <?xml version="1.0" encoding="utf-8"?>
2 | <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_cards_club" Width="76" Height="76" Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
3 | 	<Path Width="40.5374" Height="45.4759" Canvas.Left="17.681" Canvas.Top="14.7945" Stretch="Fill" Fill="#FF000000" Data="F1 M 40.1206,51.2164C 40.2989,52.9723 40.8134,55.9903 41.6639,60.2704L 34.2355,60.2704C 35.086,56.299 35.5113,53.281 35.5113,51.2164L 36.0154,44.5905C 36.0154,44.1789 36.1835,44.2612 36.5196,44.8374C 35.8131,46.6002 34.9248,48.1058 33.8548,49.3541C 32.0371,51.5422 29.6673,52.6362 26.7453,52.6362C 24.0017,52.6362 21.793,51.7068 20.1194,49.848C 18.4938,47.8657 17.681,45.5199 17.681,42.8105C 17.681,39.7033 18.5315,37.1586 20.2326,35.1763C 21.8788,33.4753 24.0497,32.6247 26.7453,32.6247C 29.2283,32.6247 31.4232,33.4067 33.3301,34.9705C 33.7622,34.6619 33.697,34.2915 33.1346,33.8594C 29.9657,31.7468 28.3812,28.5333 28.3812,24.2189C 28.3812,21.6261 29.2283,19.4106 30.9225,17.5724C 32.747,15.7204 35.0037,14.7945 37.6925,14.7945C 40.7311,14.7945 43.0151,15.645 44.5447,17.346C 46.3555,19.342 47.2609,21.7187 47.2609,24.4761C 47.2609,28.2486 45.7656,31.3661 42.7751,33.8285C 42.2058,34.2812 42.048,34.6653 42.3018,34.9808C 44.3938,33.4101 46.5922,32.6247 48.8968,32.6247C 51.5856,32.6247 53.7565,33.4787 55.4096,35.1866C 57.2821,37.1689 58.2184,39.7102 58.2184,42.8105C 58.2184,45.5267 57.3095,47.8828 55.4919,49.8788C 53.832,51.7171 51.6336,52.6362 48.8968,52.6362C 46.1463,52.6362 43.7731,51.5456 41.7771,49.3644C 40.8854,48.2875 40.0006,46.7854 39.1226,44.858C 39.4587,44.2681 39.6267,44.2235 39.6267,44.7242L 40.1206,51.2164 Z "/>
4 | </Canvas>
5 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/appbar.cards.diamond.xaml:
--------------------------------------------------------------------------------
1 | <?xml version="1.0" encoding="utf-8"?>
2 | <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_cards_diamond" Width="76" Height="76" Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
3 | 	<Path Width="37.9858" Height="46.6386" Canvas.Left="19.186" Canvas.Top="14.2229" Stretch="Fill" Fill="#FF000000" Data="F1 M 38.1789,60.8614L 19.186,37.7428L 38.1686,14.2229L 57.1718,37.7531L 38.1789,60.8614 Z "/>
4 | </Canvas>
5 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/appbar.cards.heart.xaml:
--------------------------------------------------------------------------------
1 | <?xml version="1.0" encoding="utf-8"?>
2 | <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_cards_heart" Width="76" Height="76" Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
3 | 	<Path Width="40.2802" Height="44.7146" Canvas.Left="17.7944" Canvas.Top="16.4812" Stretch="Fill" Fill="#FF000000" Data="F1 M 58.0746,26.9242C 58.0746,34.5584 53.6059,43.5302 44.6685,53.8394L 38.0631,61.1958L 31.1903,53.8394C 22.2597,43.5302 17.7944,34.5584 17.7944,26.9242C 17.7944,23.9817 18.813,21.4335 20.8502,19.2798C 22.6747,17.4141 25.2709,16.4812 28.6387,16.4812C 31.6636,16.4812 34.0265,17.3283 35.7276,19.0225C 36.8731,20.2092 37.6242,21.4335 37.9808,22.6956C 38.2758,21.4335 38.9308,20.2983 39.946,19.29C 41.9625,17.4175 44.3907,16.4812 47.2303,16.4812C 50.5913,16.4812 53.1875,17.4141 55.0189,19.2798C 57.056,21.4404 58.0746,23.9885 58.0746,26.9242 Z "/>
4 | </Canvas>
5 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/appbar.cards.spade.xaml:
--------------------------------------------------------------------------------
1 | <?xml version="1.0" encoding="utf-8"?>
2 | <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_cards_spade" Width="76" Height="76" Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
3 | 	<Path Width="36.9672" Height="46.3916" Canvas.Left="19.6999" Canvas.Top="13.8522" Stretch="Fill" Fill="#FF000000" Data="F1 M 40.874,51.9409C 41.0523,54.7257 41.5633,57.4933 42.407,60.2438L 33.96,60.2438C 34.639,56.9995 35.15,54.2318 35.493,51.9409L 35.6268,46.3438C 36.052,45.8911 36.4293,45.8911 36.7585,46.3438C 35.8394,47.99 34.8585,49.3344 33.8159,50.377C 32.3344,51.8586 30.1429,52.5993 27.2415,52.5993C 25.1563,52.5993 23.469,51.8586 22.1794,50.377C 20.5264,48.724 19.6999,46.4433 19.6999,43.535C 19.6999,40.2495 22.9271,34.2478 29.3815,25.5298L 38.1783,13.8522L 47.1089,25.4578C 53.481,33.5584 56.6671,39.5842 56.6671,43.535C 56.6671,46.4364 55.8406,48.7171 54.1875,50.377C 52.7059,51.8586 50.9363,52.5993 48.8786,52.5993C 46.1623,52.5993 43.9366,51.8277 42.2012,50.2844C 40.6373,48.7205 39.7731,47.4516 39.6085,46.4776C 39.9514,46.313 40.1229,46.2924 40.1229,46.4159L 40.874,51.9409 Z "/>
4 | </Canvas>
5 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/appbar.check.xaml:
--------------------------------------------------------------------------------
1 | <?xml version="1.0" encoding="utf-8"?>
2 | <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_check" Width="76" Height="76" Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
3 | 	<Path Width="37.9998" Height="31.6665" Canvas.Left="19.0001" Canvas.Top="22.1668" Stretch="Fill" Fill="#FF000000" Data="F1 M 23.7501,33.25L 34.8334,44.3333L 52.2499,22.1668L 56.9999,26.9168L 34.8334,53.8333L 19.0001,38L 23.7501,33.25 Z "/>
4 | </Canvas>
5 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/background.kitty.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/firstfloorsoftware/mui/cbd78931b5ffd1a77c8a82a423100e11015203c2/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/background.kitty.png


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/background.love.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/firstfloorsoftware/mui/cbd78931b5ffd1a77c8a82a423100e11015203c2/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/background.love.jpg


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/background.snowflakes.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/firstfloorsoftware/mui/cbd78931b5ffd1a77c8a82a423100e11015203c2/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Assets/background.snowflakes.jpg


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ContentLoaderImages.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Content.ContentLoaderImages"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              xmlns:mui="http://firstfloorsoftware.com/ModernUI"
 7 |              xmlns:app="clr-namespace:FirstFloor.ModernUI.App"
 8 |              mc:Ignorable="d" 
 9 |              d:DesignHeight="300" d:DesignWidth="300">
10 |     <Grid>
11 |         <Grid.RowDefinitions>
12 |             <RowDefinition />
13 |             <RowDefinition Height="Auto" />
14 |         </Grid.RowDefinitions>
15 |         <mui:ModernTab x:Name="Tab" Layout="List" ListWidth="200">
16 |             <mui:ModernTab.ContentLoader>
17 |                 <app:FlickrImageLoader />
18 |             </mui:ModernTab.ContentLoader>
19 |         </mui:ModernTab>
20 |         
21 |         <mui:BBCodeBlock Grid.Row="1" BBCode="Powered by [url=http://flickr.com]Flickr[/url]" Margin="{StaticResource StatusMargin}" Foreground="{DynamicResource WindowTextReadOnly}" />
22 |     </Grid>
23 | </UserControl>
24 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ContentLoaderImages.xaml.cs:
--------------------------------------------------------------------------------
 1 | using FirstFloor.ModernUI.Windows.Controls;
 2 | using System;
 3 | using System.Collections.Generic;
 4 | using System.Linq;
 5 | using System.Text;
 6 | using System.Threading.Tasks;
 7 | using System.Windows;
 8 | using System.Windows.Controls;
 9 | using System.Windows.Data;
10 | using System.Windows.Documents;
11 | using System.Windows.Input;
12 | using System.Windows.Media;
13 | using System.Windows.Media.Imaging;
14 | using System.Windows.Navigation;
15 | using System.Windows.Shapes;
16 | 
17 | namespace FirstFloor.ModernUI.App.Content
18 | {
19 |     /// <summary>
20 |     /// Interaction logic for ContentLoaderImages.xaml
21 |     /// </summary>
22 |     public partial class ContentLoaderImages : UserControl
23 |     {
24 |         public ContentLoaderImages()
25 |         {
26 |             InitializeComponent();
27 | 
28 |             LoadImageLinks();
29 |         }
30 | 
31 |         private async void LoadImageLinks()
32 |         {
33 |             var loader = (FlickrImageLoader)Tab.ContentLoader;
34 | 
35 |             try {
36 |                 // load image links and assign to tab list
37 |                 this.Tab.Links = await loader.GetInterestingnessListAsync();
38 | 
39 |                 // select first link
40 |                 this.Tab.SelectedSource = this.Tab.Links.Select(l => l.Source).FirstOrDefault();
41 |             }
42 |             catch (Exception e) {
43 |                 ModernDialog.ShowMessage(e.Message, "Failure", MessageBoxButton.OK);
44 |             }
45 |         }
46 |     }
47 | }
48 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ContentLoaderIntro.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Content.ContentLoaderIntro"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              xmlns:mui="http://firstfloorsoftware.com/ModernUI"
 7 |              mc:Ignorable="d" 
 8 |              d:DesignHeight="300" d:DesignWidth="300">
 9 |     <ScrollViewer>
10 |         <StackPanel MinWidth="200">
11 |             <mui:BBCodeBlock BBCode="The [b]IContentLoader[/b] interface provides an abstraction layer for loading content pages in a [b]ModernFrame[/b]. The default implementation [b]DefaultContentLoader[/b] supports local XAML content only. Implement your own content loader and you can load content pages from any source." Margin="0,0,0,16" />
12 |             <TextBlock Text="FLICKR IMAGES" Style="{StaticResource Heading2}" />
13 |             <mui:BBCodeBlock BBCode="Demonstrating the flexibility of [b]IContentLoader[/b] by dynamically loading and displaying web images in a [b]ModernFrame[/b]. The images originate from the [url=http://www.flickr.com/explore/interesting/]Flickr interestingness list[/url]. A custom [b]FlickrImageLoader[/b] implements [b]IContentLoader[/b] and loads the image collection from the web using the REST protocol and ensures the image results are properly loaded in a ModernFrame instance. See the [url=/Content/ContentLoaderImages.xaml]demo in action[/url]." Margin="0,0,0,16"/>
14 |             <mui:BBCodeBlock BBCode="Visit the [url=https://github.com/firstfloorsoftware/mui/wiki]online documentation[/url] to learn more about [b]IContentLoader[/b]." Margin="0,0,0,16" />
15 |         </StackPanel>
16 |     </ScrollViewer>
17 | </UserControl>
18 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ContentLoaderIntro.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Content
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for ContentLoaderIntro.xaml
20 |     /// </summary>
21 |     public partial class ContentLoaderIntro : UserControl
22 |     {
23 |         public ContentLoaderIntro()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ControlsModernBBCodeBlock.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Content.ControlsModernBBCodeBlock"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              xmlns:mui="http://firstfloorsoftware.com/ModernUI"
 7 |              mc:Ignorable="d" 
 8 |              d:DesignHeight="300" d:DesignWidth="300">
 9 |     <Grid>
10 |         <ScrollViewer>
11 |             <StackPanel>
12 |                 <TextBlock Text="BBCODEBLOCK" Style="{StaticResource Heading2}" Margin="0,0,0,8" />
13 |                 <mui:BBCodeBlock BBCode="Simple rich text formatting using BBCode. Supporting [b]bold[/b], [i]italic[/i], [b][i]bold italic[/i][/b], [u]underline[/u], [color=#ff4500]colors[/color], [size=10]different[/size] [size=16]sizes[/size] and support for [url=http://xamlspy.com]navigable urls[/url].&#13;&#10;&#13;&#10;BBCode formatted text works great with MVVM.&#13;&#10;&#13;&#10;To learn more about link navigation see the [url=/Pages/Navigation.xaml|_top]navigation page[/url]." />
14 |             </StackPanel>
15 |         </ScrollViewer>
16 |     </Grid>
17 | </UserControl>
18 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ControlsModernBBCodeBlock.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Content
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for ControlsModernBBCodeBlock.xaml
20 |     /// </summary>
21 |     public partial class ControlsModernBBCodeBlock : UserControl
22 |     {
23 |         public ControlsModernBBCodeBlock()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ControlsModernDialog.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Content.ControlsModernDialog"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              mc:Ignorable="d" 
 7 |              d:DesignHeight="300" d:DesignWidth="300">
 8 |     <StackPanel HorizontalAlignment="Left">
 9 |         <TextBlock Text="MODERNDIALOG" Style="{StaticResource Heading2}" Margin="0,0,0,8" />
10 | 
11 |         <Button Content="common dialog" Margin="0,0,0,8" HorizontalAlignment="Left" Click="CommonDialog_Click"/>
12 |         <TextBlock>
13 |             <Run Text="Dialog result:" />
14 |             <Run x:Name="dialogResult" FontWeight="Bold" />
15 |         </TextBlock>
16 |         <TextBlock Margin="0,0,0,32">
17 |             <Run Text="MessageBox result:" />
18 |             <Run x:Name="dialogMessageBoxResult" FontWeight="Bold" />
19 |         </TextBlock>
20 | 
21 |         <TextBlock Text="MESSAGEBOX" Style="{StaticResource Heading2}" Margin="0,0,0,8" />
22 |         <StackPanel Margin="0,0,0,8">
23 |             <RadioButton x:Name="ok" Content="ok" IsChecked="True" Margin="0,0,0,2" />
24 |             <RadioButton x:Name="okcancel" Content="ok, cancel" Margin="0,0,0,2"/>
25 |             <RadioButton x:Name="yesno" Content="yes, no" Margin="0,0,0,2"/>
26 |             <RadioButton x:Name="yesnocancel" Content="yes, no, cancel" Margin="0,0,0,2"/>
27 |         </StackPanel>
28 |         
29 |         <Button Content="message dialog" Click="MessageDialog_Click" Margin="0,0,0,8"/>
30 |         <TextBlock>
31 |             <Run Text="MessageBox result:" />
32 |             <Run x:Name="msgboxResult" FontWeight="Bold" />
33 |         </TextBlock>
34 |     </StackPanel>
35 | </UserControl>
36 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ControlsModernProgressRing.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Content
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for ControlsModernProgressRing.xaml
20 |     /// </summary>
21 |     public partial class ControlsModernProgressRing : UserControl
22 |     {
23 |         public ControlsModernProgressRing()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ControlsModernWindow.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Content.ControlsModernWindow"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              xmlns:mui="http://firstfloorsoftware.com/ModernUI"
 7 |              mc:Ignorable="d" 
 8 |              d:DesignHeight="300" d:DesignWidth="300">
 9 |     <StackPanel HorizontalAlignment="Left">
10 |         <TextBlock Text="MODERNWINDOW" Style="{StaticResource Heading2}" Margin="0,0,0,8" />
11 |         <mui:BBCodeBlock BBCode="Demonstrating the use of custom styles to adapt ModernWindow to your needs. Additional ModernWindow styles are defined in [b]Assets\ModernWindowStyles.xaml[/b]" Margin="0,0,0,16" />
12 | 
13 |         <CheckBox x:Name="title" Content="title" IsChecked="True" Margin="0,0,0,2" />
14 |         <CheckBox x:Name="logo" Content="logo" IsChecked="True" Margin="0,0,0,2"/>
15 | 
16 |         <StackPanel Margin="0,0,0,8">
17 |             <RadioButton x:Name="noresize" Content="no resize" Margin="0,0,0,2" />
18 |             <RadioButton x:Name="canminimize" Content="can minimize" Margin="0,0,0,2"/>
19 |             <RadioButton x:Name="canresize" Content="can resize" Margin="0,0,0,2"/>
20 |             <RadioButton x:Name="canresizewithgrip" Content="can resize with grip" IsChecked="True" Margin="0,0,0,2"/>
21 |         </StackPanel>
22 |         
23 |         <Button Content="blank window style" Margin="0,0,0,8" HorizontalAlignment="Left" Click="BlankWindow_Click"/>
24 | 
25 |     </StackPanel>
26 | </UserControl>
27 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ControlsStylesButton.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Content.ControlsStylesButton"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              mc:Ignorable="d" 
 7 |              d:DesignHeight="300" d:DesignWidth="300">
 8 |     <Grid>
 9 |         <ScrollViewer>
10 |             <StackPanel HorizontalAlignment="Left">
11 |                 <TextBlock Text="BUTTON" Style="{StaticResource Heading2}" Margin="0,0,0,8" />
12 |                 <StackPanel HorizontalAlignment="Left" Width="140">
13 |                     <Button Content="standard button" Margin="0,0,0,8" />
14 |                     <Button Content="disabled button" IsEnabled="False" Margin="0,0,0,32" />
15 |                 </StackPanel>
16 | 
17 |                 <TextBlock Text="CHECKBOX" Style="{StaticResource Heading2}" Margin="0,0,0,8"/>
18 |                 <CheckBox Content="standard checkbox" Margin="0,0,0,4"  />
19 |                 <CheckBox Content="three state checkbox" IsThreeState="True" Margin="0,0,0,4"  />
20 |                 <CheckBox Content="disabled checkbox" IsEnabled="False" Margin="0,0,0,4" />
21 |                 <CheckBox Content="disabled checked checkbox" IsChecked="True" IsEnabled="False" Margin="0,0,0,32" />
22 | 
23 |                 <TextBlock Text="RADIOBUTTON" Style="{StaticResource Heading2}" Margin="0,0,0,8"/>
24 |                 <RadioButton Content="option 1" Margin="0,0,0,4"  />
25 |                 <RadioButton Content="option 2" Margin="0,0,0,4" />
26 |                 <RadioButton Content="option 3, disabled" IsEnabled="False" Margin="0,0,0,4"/>
27 |                 <RadioButton Content="another option, disabled and checked" IsEnabled="False" IsChecked="True" GroupName="Foo" />
28 |             </StackPanel>
29 |         </ScrollViewer>
30 |     </Grid>
31 | </UserControl>
32 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ControlsStylesButton.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Content
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for ControlsStylesButton.xaml
20 |     /// </summary>
21 |     public partial class ControlsStylesButton : UserControl
22 |     {
23 |         public ControlsStylesButton()
24 |         {
25 |             InitializeComponent();
26 |         }
27 | 
28 |         private void CheckBox_Indeterminate(object sender, RoutedEventArgs e)
29 |         {
30 | 
31 |         }
32 |     }
33 | }
34 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ControlsStylesDataGrid.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Content.ControlsStylesDataGrid"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              xmlns:core="clr-namespace:System;assembly=mscorlib"
 7 |              xmlns:local="clr-namespace:FirstFloor.ModernUI.App.Content"
 8 |              xmlns:mui="http://firstfloorsoftware.com/ModernUI"
 9 |              mc:Ignorable="d" 
10 |              d:DesignHeight="300" d:DesignWidth="300">
11 |     <Grid>
12 |         <Grid.Resources>
13 |             <!--Create list of enumeration values-->
14 |             <ObjectDataProvider x:Key="myEnum" MethodName="GetValues" ObjectType="{x:Type core:Enum}">
15 |                 <ObjectDataProvider.MethodParameters>
16 |                     <x:Type Type="local:OrderStatus"/>
17 |                 </ObjectDataProvider.MethodParameters>
18 |             </ObjectDataProvider>
19 |         </Grid.Resources>
20 |         
21 |         <DockPanel>
22 |             <TextBlock DockPanel.Dock="Top" Text="DATAGRID" Style="{StaticResource Heading2}" Margin="0,0,0,8" />
23 |             <DataGrid Name="DG1" ItemsSource="{Binding}" AutoGenerateColumns="False" >
24 |                 <DataGrid.Columns>
25 |                     <mui:DataGridTextColumn Header="First Name"  Binding="{Binding FirstName}"/>
26 |                     <mui:DataGridTextColumn Header="Last Name" Binding="{Binding LastName}" />
27 |                     <mui:DataGridTextColumn Header="Email" Binding="{Binding Email}"/>
28 |                     <mui:DataGridCheckBoxColumn Header="Member" Binding="{Binding IsMember}" />
29 |                     <mui:DataGridComboBoxColumn Header="Order Status" SelectedItemBinding="{Binding Status}" ItemsSource="{Binding Source={StaticResource myEnum}}" />
30 |                 </DataGrid.Columns>
31 |             </DataGrid>
32 |         </DockPanel>
33 |     </Grid>
34 | </UserControl>
35 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ControlsStylesDate.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Content.ControlsStylesDate"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              mc:Ignorable="d" 
 7 |              d:DesignHeight="300" d:DesignWidth="300">
 8 |     <Grid>
 9 |         <ScrollViewer>
10 |             <StackPanel HorizontalAlignment="Left">
11 |                 <TextBlock Text="CALENDAR" Style="{StaticResource Heading2}" Margin="0,0,0,8"/>
12 |                 <StackPanel Orientation="Horizontal">
13 |                     <Calendar Margin="0,0,8,0">
14 |                         <Calendar.BlackoutDates>
15 |                             <CalendarDateRange Start="1/1/2013" End="6/1/2013" />
16 |                         </Calendar.BlackoutDates>
17 |                     </Calendar>
18 |                     <Calendar Margin="0,0,0,32" IsEnabled="False" />
19 |                 </StackPanel>
20 | 
21 |                 <TextBlock Text="DATEPICKER" Style="{StaticResource Heading2}" Margin="0,0,0,8" />
22 |                 <StackPanel HorizontalAlignment="Left">
23 |                     <DatePicker Margin="0,0,0,8" />
24 |                     <DatePicker IsEnabled="False" />
25 |                 </StackPanel>
26 | 
27 |             </StackPanel>
28 |         </ScrollViewer>
29 |     </Grid>
30 | </UserControl>
31 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ControlsStylesDate.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Content
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for ControlsStylesDate.xaml
20 |     /// </summary>
21 |     public partial class ControlsStylesDate : UserControl
22 |     {
23 |         public ControlsStylesDate()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ControlsStylesProgressBar.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Content.ControlsStylesProgressBar"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              mc:Ignorable="d" 
 7 |              d:DesignHeight="300" d:DesignWidth="300">
 8 |     <Grid>
 9 |         <StackPanel Width="240" HorizontalAlignment="Left">
10 |             
11 |             <TextBlock Text="PROGRESSBAR" Style="{StaticResource Heading2}" Margin="0,0,0,8" />
12 |             <ProgressBar Minimum="0" Maximum="1" Height="16" IsIndeterminate="True" Margin="0,0,0,16" />
13 | 
14 |             <ProgressBar Minimum="0" Maximum="1" Value=".7" Height="16" IsIndeterminate="False" Margin="0,0,0,16" />
15 |         </StackPanel>
16 |     </Grid>
17 | </UserControl>
18 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ControlsStylesProgressBar.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Content
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for ControlsStylesProgressBar.xaml
20 |     /// </summary>
21 |     public partial class ControlsStylesProgressBar : UserControl
22 |     {
23 |         public ControlsStylesProgressBar()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ControlsStylesSampleForm.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Content
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for ControlsStylesSampleForm.xaml
20 |     /// </summary>
21 |     public partial class ControlsStylesSampleForm : UserControl
22 |     {
23 |         public ControlsStylesSampleForm()
24 |         {
25 |             InitializeComponent();
26 | 
27 |             this.Loaded += OnLoaded;
28 |         }
29 | 
30 |         void OnLoaded(object sender, RoutedEventArgs e)
31 |         {
32 |             // select first control on the form
33 |             Keyboard.Focus(this.TextFirstName);
34 |         }
35 |     }
36 | }
37 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ControlsStylesSlider.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Content.ControlsStylesSlider"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              mc:Ignorable="d" 
 7 |              d:DesignHeight="300" d:DesignWidth="300">
 8 |     <Grid>
 9 |         <StackPanel Width="240" HorizontalAlignment="Left">
10 | 
11 |             <TextBlock Text="SLIDER" Style="{StaticResource Heading2}" Margin="0,0,0,8" />
12 |             <Slider Margin="0,0,0,16" />
13 |             <Slider IsEnabled="False" Value="3" TickPlacement="Both" Margin="0,0,0,16" />
14 |             <Slider IsSelectionRangeEnabled="True" SelectionStart="4" SelectionEnd="7" TickPlacement="Both" Margin="0,0,0,16" />
15 | 
16 | 
17 |             <StackPanel Orientation="Horizontal" Height="200">
18 |                 <Slider Orientation="Vertical" />
19 |                 <Slider Orientation="Vertical" IsEnabled="False" Value="3" TickPlacement="Both" Margin="16,0,0,0" />
20 |                 <Slider Orientation="Vertical" IsSelectionRangeEnabled="True" SelectionStart="4" SelectionEnd="7" TickPlacement="Both" Margin="16,0,0,0" />
21 |             </StackPanel>
22 |         </StackPanel>
23 |     </Grid>
24 | </UserControl>
25 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ControlsStylesSlider.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Content
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for ControlsStylesSlider.xaml
20 |     /// </summary>
21 |     public partial class ControlsStylesSlider : UserControl
22 |     {
23 |         public ControlsStylesSlider()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ControlsStylesText.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Content.ControlsStylesText"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              mc:Ignorable="d" 
 7 |              d:DesignHeight="300" d:DesignWidth="300">
 8 |     <Grid>
 9 |         <ScrollViewer>
10 |             <StackPanel HorizontalAlignment="Left">
11 |                 <TextBlock Text="TEXT STYLING" Style="{StaticResource Heading2}" Margin="0,0,0,8"/>
12 | 
13 |                 <TextBlock Text="HEADING1" Style="{StaticResource Heading1}" Margin="0,0,0,8" />
14 |                 <TextBlock Text="HEADING2" Style="{StaticResource Heading2}" Margin="0,0,0,8"/>
15 |                 <TextBlock Text="title" Style="{StaticResource Title}" Margin="0,0,0,8"/>
16 |                 <TextBlock Text="Normal" Margin="0,0,0,8"/>
17 |                 <TextBlock Text="small" Style="{StaticResource Small}" Margin="0,0,0,8"/>
18 |                 <TextBlock Text="EMPHASIS" Style="{StaticResource Emphasis}" Margin="0,0,0,8"/>
19 |                 <TextBlock Text="Fixed" Style="{StaticResource Fixed}" Margin="0,0,0,32"/>
20 | 
21 |                 <TextBlock Text="TEXT AND PASSWORDBOX" Style="{StaticResource Heading2}" Margin="0,0,0,8"/>
22 |                 <TextBox Text="textbox" Margin="0,0,0,8"/>
23 |                 <TextBox Text="readonly textbox" IsReadOnly="True" Margin="0,0,0,8"/>
24 |                 <TextBox Text="disabled textbox" IsEnabled="False" Margin="0,0,0,8"/>
25 |                 <PasswordBox Password="12345" Margin="0,0,0,32"/>
26 | 
27 |                 <TextBlock Text="LABEL" Style="{StaticResource Heading2}" Margin="0,0,0,8"/>
28 |                 <Label Content="label" Margin="0,0,0,8"/>
29 |                 <Label Content="disabled label" IsEnabled="False" />
30 |             </StackPanel>
31 |         </ScrollViewer>
32 |     </Grid>
33 | </UserControl>
34 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ControlsStylesText.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Content
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for ControlsStylesText.xaml
20 |     /// </summary>
21 |     public partial class ControlsStylesText : UserControl
22 |     {
23 |         public ControlsStylesText()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/LoremIpsum.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Content.LoremIpsum"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              mc:Ignorable="d" 
 7 |              d:DesignHeight="300" d:DesignWidth="300">
 8 |     <ScrollViewer>
 9 |         <StackPanel MinWidth="200">
10 |             <TextBlock Text="LOREM IPSUM" Style="{StaticResource Heading2}" />
11 |             <TextBlock Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus mollis ultrices dui, vitae dapibus metus vehicula vel. Vivamus non enim lectus, vitae semper lectus. Cras arcu urna, dictum vitae elementum nec, lobortis eu ipsum. Ut vestibulum feugiat erat non semper. In porttitor viverra dolor bibendum viverra. Morbi ultrices pharetra metus id tristique. Vestibulum arcu lacus, dignissim vitae laoreet in, posuere quis dolor." Margin="0,0,0,8" TextWrapping="Wrap" />
12 |             <TextBlock Text="Cras pellentesque varius arcu, ac gravida neque ultricies varius. Nam eget vestibulum ante. Vestibulum semper odio id metus accumsan consequat. Ut ut gravida sem. Vestibulum eu orci massa. Integer non euismod libero. Cras tempor, metus quis scelerisque tincidunt, mi sem interdum neque, sed porttitor sem purus quis lorem. Maecenas pretium interdum dui, ut commodo ante porttitor sed. Vivamus orci diam, bibendum id elementum vel, convallis ut odio. Etiam commodo nisl vestibulum neque facilisis in molestie justo pretium. Sed porta, nunc non egestas posuere, turpis neque posuere est, nec rhoncus leo quam auctor ante. Quisque blandit, urna eget convallis bibendum, nibh ante cursus mauris, sit amet tristique lectus lacus ac ipsum. Sed luctus lectus vel ipsum egestas rutrum. Donec aliquam dapibus euismod. Sed id lectus libero, ac feugiat diam. Nunc porttitor tincidunt dui nec porttitor." Margin="0,0,0,8" TextWrapping="Wrap"/>
13 |         </StackPanel>
14 |     </ScrollViewer>
15 | </UserControl>
16 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/LoremIpsum.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Content
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for LoremIpsum.xaml
20 |     /// </summary>
21 |     public partial class LoremIpsum : UserControl
22 |     {
23 |         public LoremIpsum()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/LoremIpsumList.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Content.LoremIpsumList"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              xmlns:mui="http://firstfloorsoftware.com/ModernUI"
 7 |              xmlns:app="clr-namespace:FirstFloor.ModernUI.App"
 8 |              mc:Ignorable="d" 
 9 |              d:DesignHeight="300" d:DesignWidth="300">
10 |     <Grid>
11 |         <mui:ModernTab SelectedSource="/2" Layout="List">
12 |             <mui:ModernTab.Links>
13 |                 <mui:Link DisplayName="Lorem Ipsum 1" Source="/1" />
14 |                 <mui:Link DisplayName="Lorem Ipsum 2" Source="/2" />
15 |                 <mui:Link DisplayName="Lorem Ipsum 3" Source="/3"/>
16 |                 <mui:Link DisplayName="Lorem Ipsum 4" Source="/4" />
17 |                 <mui:Link DisplayName="Lorem Ipsum 5" Source="/5"/>
18 |             </mui:ModernTab.Links>
19 |             
20 |             <!-- ensures new LoremIpsum content is loaded for each uri -->
21 |             <mui:ModernTab.ContentLoader>
22 |                 <app:LoremIpsumLoader />
23 |             </mui:ModernTab.ContentLoader>
24 |         </mui:ModernTab>
25 |     </Grid>
26 | </UserControl>
27 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/LoremIpsumList.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Content
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for LoremIpsumList.xaml
20 |     /// </summary>
21 |     public partial class LoremIpsumList : UserControl
22 |     {
23 |         public LoremIpsumList()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/LoremIpsumSplit.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Content.LoremIpsumSplit"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              xmlns:content="clr-namespace:FirstFloor.ModernUI.App.Content"
 7 |              mc:Ignorable="d" 
 8 |              d:DesignHeight="300" d:DesignWidth="300">
 9 |     <Grid>
10 |         <Grid.ColumnDefinitions>
11 |             <ColumnDefinition Width="*"/>
12 |             <ColumnDefinition Width="6"/>
13 |             <ColumnDefinition Width="*"/>
14 |         </Grid.ColumnDefinitions>
15 | 
16 |         <content:LoremIpsum Margin="{StaticResource SplitLeft}" />
17 |         <GridSplitter Grid.Column="1" />
18 |         <content:LoremIpsum Grid.Column="2" Margin="{StaticResource SplitRight}" />
19 |     </Grid>
20 | </UserControl>
21 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/LoremIpsumSplit.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Content
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for LoremIpsumSplit.xaml
20 |     /// </summary>
21 |     public partial class LoremIpsumSplit : UserControl
22 |     {
23 |         public LoremIpsumSplit()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ModernFrame/CancelNavigateSample.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Content.ModernFrame.CancelNavigateSample"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              xmlns:mui="http://firstfloorsoftware.com/ModernUI"
 7 |              mc:Ignorable="d" 
 8 |              d:DesignHeight="300" d:DesignWidth="300">
 9 |     <StackPanel>
10 |         <mui:BBCodeBlock BBCode="Navigating away from this page with the user's consent only.&#13;&#10;&#13;&#10;This page implements the [b]IContent[/b] interface and cancels navigation in the [b]OnNavigatingFrom[/b] method." TextWrapping="Wrap" Margin="0,0,0,8" />
11 |         
12 |         
13 |         <mui:BBCodeBlock x:Name="fragmentNav" />
14 |     </StackPanel>
15 | </UserControl>
16 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ModernFrame/ErrorSample.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Content.ModernFrame.ErrorSample"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              mc:Ignorable="d" 
 7 |              d:DesignHeight="300" d:DesignWidth="300">
 8 |     <Grid>
 9 |             
10 |     </Grid>
11 | </UserControl>
12 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ModernFrame/ErrorSample.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Content.ModernFrame
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for ErrorSample.xaml
20 |     /// </summary>
21 |     public partial class ErrorSample : UserControl
22 |     {
23 |         public ErrorSample()
24 |         {
25 |             InitializeComponent();
26 | 
27 |             // raise exception to create navigation failure
28 |             throw new NotSupportedException();
29 |         }
30 |     }
31 | }
32 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ModernFrame/Sample.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Content.ModernFrame.Sample"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              mc:Ignorable="d" 
 7 |              d:DesignHeight="300" d:DesignWidth="300">
 8 |     <StackPanel>
 9 |         <TextBlock Text="Sample content loaded in a ModernFrame"/>
10 |     </StackPanel>
11 | </UserControl>
12 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/ModernFrame/Sample.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Content.ModernFrame
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for Sample.xaml
20 |     /// </summary>
21 |     public partial class Sample : UserControl
22 |     {
23 |         public Sample()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/SettingsAppearance.xaml.cs:
--------------------------------------------------------------------------------
 1 | using FirstFloor.ModernUI.Presentation;
 2 | using System;
 3 | using System.Collections.Generic;
 4 | using System.Linq;
 5 | using System.Text;
 6 | using System.Threading.Tasks;
 7 | using System.Windows;
 8 | using System.Windows.Controls;
 9 | using System.Windows.Data;
10 | using System.Windows.Documents;
11 | using System.Windows.Input;
12 | using System.Windows.Media;
13 | using System.Windows.Media.Imaging;
14 | using System.Windows.Navigation;
15 | using System.Windows.Shapes;
16 | 
17 | namespace FirstFloor.ModernUI.App.Content
18 | {
19 |     /// <summary>
20 |     /// Interaction logic for SettingsAppearance.xaml
21 |     /// </summary>
22 |     public partial class SettingsAppearance : UserControl
23 |     {
24 |         public SettingsAppearance()
25 |         {
26 |             InitializeComponent();
27 | 
28 |             // a simple view model for appearance configuration
29 |             this.DataContext = new SettingsAppearanceViewModel();
30 |         }
31 |     }
32 | }
33 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/FirstFloor.ModernUI.App.csproj.vspscc:
--------------------------------------------------------------------------------
 1 | ""
 2 | {
 3 | "FILE_VERSION" = "9237"
 4 | "ENLISTMENT_CHOICE" = "NEVER"
 5 | "PROJECT_FILE_RELATIVE_PATH" = ""
 6 | "NUMBER_OF_EXCLUDED_FILES" = "0"
 7 | "ORIGINAL_PROJECT_FILE_PATH" = ""
 8 | "NUMBER_OF_NESTED_PROJECTS" = "0"
 9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
10 | }
11 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/LoremIpsumLoader.cs:
--------------------------------------------------------------------------------
 1 | using FirstFloor.ModernUI.App.Content;
 2 | using FirstFloor.ModernUI.Windows;
 3 | using System;
 4 | using System.Collections.Generic;
 5 | using System.Linq;
 6 | using System.Text;
 7 | using System.Threading.Tasks;
 8 | 
 9 | namespace FirstFloor.ModernUI.App
10 | {
11 |     /// <summary>
12 |     /// Loads lorem ipsum content regardless the given uri.
13 |     /// </summary>
14 |     public class LoremIpsumLoader
15 |         : DefaultContentLoader
16 |     {
17 |         /// <summary>
18 |         /// Loads the content from specified uri.
19 |         /// </summary>
20 |         /// <param name="uri">The content uri</param>
21 |         /// <returns>The loaded content.</returns>
22 |         protected override object LoadContent(Uri uri)
23 |         {
24 |             // return a new LoremIpsum user control instance no matter the uri
25 |             return new LoremIpsum();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
 1 | using FirstFloor.ModernUI.Windows.Controls;
 2 | using System;
 3 | using System.Collections.Generic;
 4 | using System.Linq;
 5 | using System.Text;
 6 | using System.Threading.Tasks;
 7 | using System.Windows;
 8 | using System.Windows.Controls;
 9 | using System.Windows.Data;
10 | using System.Windows.Documents;
11 | using System.Windows.Input;
12 | using System.Windows.Media;
13 | using System.Windows.Media.Imaging;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for MainWindow.xaml
20 |     /// </summary>
21 |     public partial class MainWindow : ModernWindow
22 |     {
23 |         public MainWindow()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Pages/ContentLoader.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Pages.ContentLoader"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              xmlns:mui="http://firstfloorsoftware.com/ModernUI"
 7 |              xmlns:app="clr-namespace:FirstFloor.ModernUI.App"
 8 |              mc:Ignorable="d" 
 9 |              d:DesignHeight="300" d:DesignWidth="300">
10 |     <Grid Style="{StaticResource ContentRoot}">
11 |         <mui:ModernTab SelectedSource="/Content/ContentLoaderIntro.xaml" Layout="Tab">
12 |             <mui:ModernTab.Links>
13 |                 <mui:Link DisplayName="INTRO" Source="/Content/ContentLoaderIntro.xaml" />
14 |                 <mui:Link DisplayName="IMAGES" Source="/Content/ContentLoaderImages.xaml" />
15 |             </mui:ModernTab.Links>
16 |         </mui:ModernTab>
17 |     </Grid>
18 | </UserControl>
19 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Pages/ContentLoader.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Globalization;
 4 | using System.Linq;
 5 | using System.Text;
 6 | using System.Threading.Tasks;
 7 | using System.Windows;
 8 | using System.Windows.Controls;
 9 | using System.Windows.Data;
10 | using System.Windows.Documents;
11 | using System.Windows.Input;
12 | using System.Windows.Media;
13 | using System.Windows.Media.Imaging;
14 | using System.Windows.Navigation;
15 | using System.Windows.Shapes;
16 | 
17 | namespace FirstFloor.ModernUI.App.Pages
18 | {
19 |     /// <summary>
20 |     /// Interaction logic for ContentLoader.xaml
21 |     /// </summary>
22 |     public partial class ContentLoader : UserControl
23 |     {
24 |         public ContentLoader()
25 |         {
26 |             InitializeComponent();
27 |         }
28 |     }
29 | }
30 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Pages/ControlsModern.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Pages.ControlsModern"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              xmlns:mui="http://firstfloorsoftware.com/ModernUI" 
 7 |              mc:Ignorable="d" 
 8 |              d:DesignHeight="300" d:DesignWidth="300">
 9 |     <Grid Style="{StaticResource ContentRoot}">
10 |         <mui:ModernTab SelectedSource="/Content/ControlsModernBBCodeBlock.xaml" Layout="List">
11 |             <mui:ModernTab.Links>
12 |                 <mui:Link DisplayName="BBCodeBlock" Source="/Content/ControlsModernBBCodeBlock.xaml"/>
13 |                 <mui:Link DisplayName="ModernButton" Source="/Content/ControlsModernButton.xaml" />
14 |                 <mui:Link DisplayName="ModernDialog" Source="/Content/ControlsModernDialog.xaml" />
15 |                 <mui:Link DisplayName="ModernFrame" Source="/Content/ControlsModernFrame.xaml" />
16 |                 <mui:Link DisplayName="ModernMenu" Source="/Content/ControlsModernMenu.xaml" />
17 |                 <mui:Link DisplayName="ModernProgressRing" Source="/Content/ControlsModernProgressRing.xaml" />
18 |                 <mui:Link DisplayName="ModernWindow" Source="/Content/ControlsModernWindow.xaml" />
19 |             </mui:ModernTab.Links>
20 |         </mui:ModernTab>
21 |     </Grid>
22 | </UserControl>
23 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Pages/ControlsModern.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Pages
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for ControlsModern.xaml
20 |     /// </summary>
21 |     public partial class ControlsModern : UserControl
22 |     {
23 |         public ControlsModern()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Pages/ControlsStyles.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Pages.ControlsStyles"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              xmlns:mui="http://firstfloorsoftware.com/ModernUI" 
 7 |              mc:Ignorable="d" 
 8 |              d:DesignHeight="300" d:DesignWidth="300">
 9 |     <Grid Style="{StaticResource ContentRoot}">
10 |         <mui:ModernTab SelectedSource="/Content/ControlsStylesButton.xaml" Layout="List">
11 |             <mui:ModernTab.Links>
12 |                 <mui:Link DisplayName="Button" Source="/Content/ControlsStylesButton.xaml" />
13 |                 <mui:Link DisplayName="DataGrid" Source="/Content/ControlsStylesDataGrid.xaml" />
14 |                 <mui:Link DisplayName="Date" Source="/Content/ControlsStylesDate.xaml" />
15 |                 <mui:Link DisplayName="ItemsControl" Source="/Content/ControlsStylesItemsControl.xaml"/>
16 |                 <mui:Link DisplayName="ProgressBar" Source="/Content/ControlsStylesProgressBar.xaml"/>
17 |                 <mui:Link DisplayName="Slider" Source="/Content/ControlsStylesSlider.xaml"/>
18 |                 <mui:Link DisplayName="Text" Source="/Content/ControlsStylesText.xaml" />
19 |                 <mui:Link DisplayName="Sample form" Source="/Content/ControlsStylesSampleForm.xaml" />
20 |             </mui:ModernTab.Links>
21 |         </mui:ModernTab>
22 |     </Grid>
23 | 
24 | </UserControl>
25 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Pages/ControlsStyles.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Pages
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for ControlsStyles.xaml
20 |     /// </summary>
21 |     public partial class ControlsStyles : UserControl
22 |     {
23 |         public ControlsStyles()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Pages/DpiAwareness.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Pages
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for DpiAwareness.xaml
20 |     /// </summary>
21 |     public partial class DpiAwareness : UserControl
22 |     {
23 |         public DpiAwareness()
24 |         {
25 |             InitializeComponent();
26 | 
27 |             this.DataContext = new DpiAwarenessViewModel();
28 |         }
29 |     }
30 | }
31 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Pages/Introduction.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Pages.Introduction"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              xmlns:mui="http://firstfloorsoftware.com/ModernUI"
 7 |              mc:Ignorable="d" 
 8 |              d:DesignHeight="300" d:DesignWidth="300">
 9 |     <Grid Style="{StaticResource ContentRoot}">
10 |         <ScrollViewer>
11 |             <StackPanel >
12 |                 <TextBlock Text="MODERN UI FOR WPF" Style="{StaticResource Heading1}" Margin="0,0,0,8"/>
13 |                 <mui:BBCodeBlock BBCode="[b]Modern UI for WPF[/b], a set of controls and styles converting your WPF application into a great looking Modern UI app.&#13;&#10;&#13;&#10;This open source project is a spin-off of [url=http://xamlspy.com]XAML Spy[/url], the visual runtime inspector for Silverlight, Windows Phone, Windows Store and WPF.&#13;&#10;&#13;&#10;See the [url=https://github.com/firstfloorsoftware/mui/wiki]online documentation[/url] to learn more about how to incorporate [b]Modern UI for WPF[/b] into your applications." Margin="0,0,0,32" />
14 |                 <TextBlock Text="APPEARANCE" Style="{StaticResource Heading2}" />
15 |                 <mui:BBCodeBlock BBCode="The appearance of Modern UI styled windows can be changed on the fly. Make sure you visit the [url=/Pages/Settings.xaml]settings[/url] to adapt the appearance to your preference." Margin="0,0,0,32"/>
16 |             </StackPanel>
17 |         </ScrollViewer>
18 |     </Grid>
19 | </UserControl>
20 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Pages/Introduction.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Pages
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for Introduction.xaml
20 |     /// </summary>
21 |     public partial class Introduction : UserControl
22 |     {
23 |         public Introduction()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Pages/LayoutBasic.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Pages.LayoutBasic"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              xmlns:content="clr-namespace:FirstFloor.ModernUI.App.Content"
 7 |              mc:Ignorable="d" 
 8 |              d:DesignHeight="300" d:DesignWidth="300">
 9 |     <Grid Style="{StaticResource ContentRoot}">
10 |         <content:LoremIpsum />
11 |     </Grid>
12 | </UserControl>
13 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Pages/LayoutBasic.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Pages
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for LayoutBasic.xaml
20 |     /// </summary>
21 |     public partial class LayoutBasic : UserControl
22 |     {
23 |         public LayoutBasic()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Pages/LayoutList.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Pages.LayoutList"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              xmlns:content="clr-namespace:FirstFloor.ModernUI.App.Content"
 7 |              mc:Ignorable="d" 
 8 |              d:DesignHeight="300" d:DesignWidth="300">
 9 |     <Grid Style="{StaticResource ContentRoot}">
10 |         <content:LoremIpsumList />
11 |     </Grid>
12 | </UserControl>
13 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Pages/LayoutList.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Pages
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for LayoutList.xaml
20 |     /// </summary>
21 |     public partial class LayoutList : UserControl
22 |     {
23 |         public LayoutList()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Pages/LayoutSplit.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Pages.LayoutSplit"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              xmlns:content="clr-namespace:FirstFloor.ModernUI.App.Content"
 7 |              mc:Ignorable="d" 
 8 |              d:DesignHeight="300" d:DesignWidth="300">
 9 |     <Grid Style="{StaticResource ContentRoot}">
10 |         <content:LoremIpsumSplit />
11 |     </Grid>
12 | </UserControl>
13 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Pages/LayoutSplit.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Pages
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for LayoutSplit.xaml
20 |     /// </summary>
21 |     public partial class LayoutSplit : UserControl
22 |     {
23 |         public LayoutSplit()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Pages/LayoutTab.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Pages.LayoutTab"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              xmlns:mui="http://firstfloorsoftware.com/ModernUI"
 7 |              mc:Ignorable="d" 
 8 |              d:DesignHeight="300" d:DesignWidth="300">
 9 |     <Grid Style="{StaticResource ContentRoot}">
10 |         <mui:ModernTab SelectedSource="/Content/LoremIpsum.xaml" Layout="Tab">
11 |             <mui:ModernTab.Links>
12 |                 <mui:Link DisplayName="Basic" Source="/Content/LoremIpsum.xaml" />
13 |                 <mui:Link DisplayName="Split" Source="/Content/LoremIpsumSplit.xaml" />
14 |                 <mui:Link DisplayName="List" Source="/Content/LoremIpsumList.xaml" />
15 |             </mui:ModernTab.Links>
16 |         </mui:ModernTab>
17 |     </Grid>
18 | </UserControl>
19 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Pages/LayoutTab.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Pages
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for LayoutTab.xaml
20 |     /// </summary>
21 |     public partial class LayoutTab : UserControl
22 |     {
23 |         public LayoutTab()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Pages/LayoutWireframe.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Pages
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for LayoutWireframe.xaml
20 |     /// </summary>
21 |     public partial class LayoutWireframe : UserControl
22 |     {
23 |         public LayoutWireframe()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Pages/Navigation.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Pages
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for Navigation.xaml
20 |     /// </summary>
21 |     public partial class Navigation : UserControl
22 |     {
23 |         public Navigation()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Pages/Settings.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="FirstFloor.ModernUI.App.Pages.Settings"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              xmlns:mui="http://firstfloorsoftware.com/ModernUI"
 7 |              mc:Ignorable="d" 
 8 |              d:DesignHeight="300" d:DesignWidth="300">
 9 |     <Grid Style="{StaticResource ContentRoot}">
10 |         <mui:ModernTab SelectedSource="/Content/SettingsAppearance.xaml" Layout="List">
11 |             <mui:ModernTab.Links>
12 |                 <mui:Link DisplayName="Appearance" Source="/Content/SettingsAppearance.xaml" />
13 |             </mui:ModernTab.Links>
14 |         </mui:ModernTab>
15 |     </Grid>
16 | </UserControl>
17 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Pages/Settings.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace FirstFloor.ModernUI.App.Pages
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for Settings.xaml
20 |     /// </summary>
21 |     public partial class Settings : UserControl
22 |     {
23 |         public Settings()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
 1 | //------------------------------------------------------------------------------
 2 | // <auto-generated>
 3 | //     This code was generated by a tool.
 4 | //     Runtime Version:4.0.30319.18033
 5 | //
 6 | //     Changes to this file may cause incorrect behavior and will be lost if
 7 | //     the code is regenerated.
 8 | // </auto-generated>
 9 | //------------------------------------------------------------------------------
10 | 
11 | namespace FirstFloor.ModernUI.App.Properties
12 | {
13 | 
14 | 
15 |     [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 |     [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 |     internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 |     {
19 | 
20 |         private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 | 
22 |         public static Settings Default
23 |         {
24 |             get
25 |             {
26 |                 return defaultInstance;
27 |             }
28 |         }
29 |     }
30 | }
31 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 | <?xml version='1.0' encoding='utf-8'?>
2 | <SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
3 |   <Profiles>
4 |     <Profile Name="(Default)" />
5 |   </Profiles>
6 |   <Settings />
7 | </SettingsFile>


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/SampleDisabledCommand.cs:
--------------------------------------------------------------------------------
 1 | using FirstFloor.ModernUI.Presentation;
 2 | using System;
 3 | using System.Collections.Generic;
 4 | using System.Linq;
 5 | using System.Text;
 6 | using System.Threading.Tasks;
 7 | 
 8 | namespace FirstFloor.ModernUI.App
 9 | {
10 |     /// <summary>
11 |     /// An ICommand implementation that cannot execute.
12 |     /// </summary>
13 |     public class SampleDisabledCommand
14 |         : CommandBase
15 |     {
16 |         /// <summary>
17 |         /// Defines the method that determines whether the command can execute in its current state.
18 |         /// </summary>
19 |         /// <param name="parameter">Data used by the command.  If the command does not require data to be passed, this object can be set to null.</param>
20 |         /// <returns>
21 |         /// true if this command can be executed; otherwise, false.
22 |         /// </returns>
23 |         public override bool CanExecute(object parameter)
24 |         {
25 |             return false; // cannot execute
26 |         }
27 | 
28 |         /// <summary>
29 |         /// Executes the command.
30 |         /// </summary>
31 |         /// <param name="parameter">The parameter.</param>
32 |         protected override void OnExecute(object parameter)
33 |         {
34 |             throw new NotSupportedException();
35 |         }
36 |     }
37 | }
38 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/SampleFormViewModel.cs:
--------------------------------------------------------------------------------
 1 | using FirstFloor.ModernUI.Presentation;
 2 | using System;
 3 | using System.Collections.Generic;
 4 | using System.ComponentModel;
 5 | using System.Linq;
 6 | using System.Text;
 7 | using System.Threading.Tasks;
 8 | 
 9 | namespace FirstFloor.ModernUI.App
10 | {
11 |     public class SampleFormViewModel
12 |         : NotifyPropertyChanged, IDataErrorInfo
13 |     {
14 |         private string firstName = "John";
15 |         private string lastName;
16 | 
17 |         public string FirstName
18 |         {
19 |             get { return this.firstName; }
20 |             set
21 |             {
22 |                 if (this.firstName != value) {
23 |                     this.firstName = value;
24 |                     OnPropertyChanged("FirstName");
25 |                 }
26 |             }
27 |         }
28 | 
29 |         public string LastName
30 |         {
31 |             get { return this.lastName; }
32 |             set
33 |             {
34 |                 if (this.lastName != value) {
35 |                     this.lastName = value;
36 |                     OnPropertyChanged("LastName");
37 |                 }
38 |             }
39 |         }
40 | 
41 |         public string Error
42 |         {
43 |             get { return null; }
44 |         }
45 | 
46 |         public string this[string columnName]
47 |         {
48 |             get
49 |             {
50 |                 if (columnName == "FirstName") {
51 |                     return string.IsNullOrEmpty(this.firstName) ? "Required value" : null;
52 |                 }
53 |                 if (columnName == "LastName") {
54 |                     return string.IsNullOrEmpty(this.lastName) ? "Required value" : null;
55 |                 }
56 |                 return null;
57 |             }
58 |         }
59 |     }
60 | }
61 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/SampleMsgBoxCommand.cs:
--------------------------------------------------------------------------------
 1 | using FirstFloor.ModernUI.Presentation;
 2 | using FirstFloor.ModernUI.Windows.Controls;
 3 | using System;
 4 | using System.Collections.Generic;
 5 | using System.Linq;
 6 | using System.Text;
 7 | using System.Threading.Tasks;
 8 | using System.Windows;
 9 | 
10 | namespace FirstFloor.ModernUI.App
11 | {
12 |     /// <summary>
13 |     /// An ICommand implementation displaying a message box.
14 |     /// </summary>
15 |     public class SampleMsgBoxCommand
16 |         : CommandBase
17 |     {
18 |         /// <summary>
19 |         /// Executes the command.
20 |         /// </summary>
21 |         /// <param name="parameter">The parameter.</param>
22 |         protected override void OnExecute(object parameter)
23 |         {
24 |             ModernDialog.ShowMessage("A messagebox triggered by selecting a hyperlink", "Messagebox", MessageBoxButton.OK);
25 |         }
26 |     }
27 | }
28 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/SampleParameterCommand.cs:
--------------------------------------------------------------------------------
 1 | using FirstFloor.ModernUI.Presentation;
 2 | using FirstFloor.ModernUI.Windows.Controls;
 3 | using System;
 4 | using System.Collections.Generic;
 5 | using System.Globalization;
 6 | using System.Linq;
 7 | using System.Text;
 8 | using System.Threading.Tasks;
 9 | using System.Windows;
10 | 
11 | namespace FirstFloor.ModernUI.App
12 | {
13 |     /// <summary>
14 |     /// An ICommand implementation that displays the provided command parameter in a message box.
15 |     /// </summary>
16 |     public class SampleParameterCommand
17 |         : CommandBase
18 |     {
19 |         /// <summary>
20 |         /// Executes the command.
21 |         /// </summary>
22 |         /// <param name="parameter">The parameter.</param>
23 |         protected override void OnExecute(object parameter)
24 |         {
25 |             ModernDialog.ShowMessage(string.Format(CultureInfo.CurrentUICulture, "Executing command, command parameter = '{0}'", parameter), "SampleCommand", MessageBoxButton.OK);
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.App/App.xaml:
--------------------------------------------------------------------------------
 1 | <Application x:Class="$safeprojectname$.App"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              StartupUri="MainWindow.xaml">
 5 |     <Application.Resources>
 6 |         <ResourceDictionary>
 7 |             <ResourceDictionary.MergedDictionaries>
 8 |                 <ResourceDictionary Source="/FirstFloor.ModernUI;component/Assets/ModernUI.xaml" />
 9 |                 <ResourceDictionary Source="/FirstFloor.ModernUI;component/Assets/ModernUI.Light.xaml"/>
10 |             </ResourceDictionary.MergedDictionaries>
11 |         </ResourceDictionary>
12 |     </Application.Resources>
13 | </Application>
14 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.App/App.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Configuration;
 4 | using System.Data;
 5 | using System.Linq;
 6 | using System.Threading.Tasks;
 7 | using System.Windows;
 8 | 
 9 | namespace $safeprojectname$
10 | {
11 |     /// <summary>
12 |     /// Interaction logic for App.xaml
13 |     /// </summary>
14 |     public partial class App : Application
15 |     {
16 |     }
17 | }
18 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.App/MainWindow.xaml:
--------------------------------------------------------------------------------
 1 | <mui:ModernWindow x:Class="$safeprojectname$.MainWindow"
 2 |                   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |                   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |                   xmlns:mui="http://firstfloorsoftware.com/ModernUI"
 5 |                   Title="mui" 
 6 |                   LogoData="F1 M 24.9015,43.0378L 25.0963,43.4298C 26.1685,49.5853 31.5377,54.2651 38,54.2651C 44.4623,54.2651 49.8315,49.5854 50.9037,43.4299L 51.0985,43.0379C 51.0985,40.7643 52.6921,39.2955 54.9656,39.2955C 56.9428,39.2955 58.1863,41.1792 58.5833,43.0379C 57.6384,52.7654 47.9756,61.75 38,61.75C 28.0244,61.75 18.3616,52.7654 17.4167,43.0378C 17.8137,41.1792 19.0572,39.2954 21.0344,39.2954C 23.3079,39.2954 24.9015,40.7643 24.9015,43.0378 Z M 26.7727,20.5833C 29.8731,20.5833 32.3864,23.0966 32.3864,26.197C 32.3864,29.2973 29.8731,31.8106 26.7727,31.8106C 23.6724,31.8106 21.1591,29.2973 21.1591,26.197C 21.1591,23.0966 23.6724,20.5833 26.7727,20.5833 Z M 49.2273,20.5833C 52.3276,20.5833 54.8409,23.0966 54.8409,26.197C 54.8409,29.2973 52.3276,31.8106 49.2273,31.8106C 46.127,31.8106 43.6136,29.2973 43.6136,26.197C 43.6136,23.0966 46.127,20.5833 49.2273,20.5833 Z"
 7 |                   Style="{StaticResource BlankWindow}">
 8 |     <ScrollViewer>
 9 |         <StackPanel>
10 |             <TextBlock Text="MODERN UI FOR WPF" Style="{StaticResource Heading2}" />
11 |             <TextBlock Text="Your content here" />
12 |         </StackPanel>
13 |     </ScrollViewer>
14 | </mui:ModernWindow>
15 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.App/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
 1 | using FirstFloor.ModernUI.Windows.Controls;
 2 | using System;
 3 | using System.Collections.Generic;
 4 | using System.Linq;
 5 | using System.Text;
 6 | using System.Threading.Tasks;
 7 | using System.Windows;
 8 | using System.Windows.Controls;
 9 | using System.Windows.Data;
10 | using System.Windows.Documents;
11 | using System.Windows.Input;
12 | using System.Windows.Media;
13 | using System.Windows.Media.Imaging;
14 | using System.Windows.Navigation;
15 | using System.Windows.Shapes;
16 | 
17 | namespace $safeprojectname$
18 | {
19 |     /// <summary>
20 |     /// Interaction logic for MainWindow.xaml
21 |     /// </summary>
22 |     public partial class MainWindow : ModernWindow
23 |     {
24 |         public MainWindow()
25 |         {
26 |             InitializeComponent();
27 |         }
28 |     }
29 | }
30 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.App/ModernUI.App.csproj.vspscc:
--------------------------------------------------------------------------------
 1 | ""
 2 | {
 3 | "FILE_VERSION" = "9237"
 4 | "ENLISTMENT_CHOICE" = "NEVER"
 5 | "PROJECT_FILE_RELATIVE_PATH" = ""
 6 | "NUMBER_OF_EXCLUDED_FILES" = "0"
 7 | "ORIGINAL_PROJECT_FILE_PATH" = ""
 8 | "NUMBER_OF_NESTED_PROJECTS" = "0"
 9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
10 | }
11 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.App/ModernUI.App.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/firstfloorsoftware/mui/cbd78931b5ffd1a77c8a82a423100e11015203c2/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.App/ModernUI.App.ico


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.App/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
 1 | using System.Reflection;
 2 | using System.Runtime.CompilerServices;
 3 | using System.Runtime.InteropServices;
 4 | using System.Windows.Media;
 5 | 
 6 | // General Information about an assembly is controlled through the following 
 7 | // set of attributes. Change these attribute values to modify the information
 8 | // associated with an assembly.
 9 | [assembly: AssemblyTitle("$projectname
quot;)]
10 | [assembly: AssemblyDescription("")]
11 | [assembly: AssemblyConfiguration("")]
12 | [assembly: AssemblyCompany("$registeredorganization
quot;)]
13 | [assembly: AssemblyProduct("$projectname
quot;)]
14 | [assembly: AssemblyCopyright("Copyright © $registeredorganization$ $year
quot;)]
15 | [assembly: AssemblyTrademark("")]
16 | [assembly: AssemblyCulture("")]
17 | 
18 | // Setting ComVisible to false makes the types in this assembly not visible 
19 | // to COM components.  If you need to access a type in this assembly from 
20 | // COM, set the ComVisible attribute to true on that type.
21 | [assembly: ComVisible(false)]
22 | 
23 | // The following GUID is for the ID of the typelib if this project is exposed to COM
24 | [assembly: Guid("$guid1
quot;)]
25 | 
26 | // required to support per-monitor DPI awareness in Windows 8.1+
27 | // see also https://mui.codeplex.com/wikipage?title=Per-monitor%20DPI%20awareness
28 | [assembly: DisableDpiAwareness]
29 | 
30 | // Version information for an assembly consists of the following four values:
31 | //
32 | //      Major Version
33 | //      Minor Version 
34 | //      Build Number
35 | //      Revision
36 | //
37 | // You can specify all the values or you can default the Build and Revision Numbers 
38 | // by using the '*' as shown below:
39 | // [assembly: AssemblyVersion("1.0.*")]
40 | [assembly: AssemblyVersion("1.0.0.0")]
41 | [assembly: AssemblyFileVersion("1.0.0.0")]
42 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.BasicPage/BasicPage.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="$rootnamespace$.$safeitemrootname
quot;
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              xmlns:mui="http://firstfloorsoftware.com/ModernUI"
 7 |              mc:Ignorable="d" 
 8 |              d:DesignHeight="300" d:DesignWidth="300">
 9 |     <Grid Style="{StaticResource ContentRoot}">
10 |         <ScrollViewer>
11 |             <StackPanel MinWidth="200">
12 |                 <TextBlock Text="BASIC PAGE" Style="{StaticResource Heading2}" />
13 |                 <TextBlock Text="Content goes here" />
14 |             </StackPanel>
15 |         </ScrollViewer>
16 |     </Grid>
17 | </UserControl>
18 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.BasicPage/BasicPage.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace $rootnamespace$
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for $safeitemrootname$.xaml
20 |     /// </summary>
21 |     public partial class $safeitemrootname$ : UserControl
22 |     {
23 |         public $safeitemrootname$()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.BasicPage/ModernUI.BasicPage.csproj.vspscc:
--------------------------------------------------------------------------------
 1 | ""
 2 | {
 3 | "FILE_VERSION" = "9237"
 4 | "ENLISTMENT_CHOICE" = "NEVER"
 5 | "PROJECT_FILE_RELATIVE_PATH" = ""
 6 | "NUMBER_OF_EXCLUDED_FILES" = "0"
 7 | "ORIGINAL_PROJECT_FILE_PATH" = ""
 8 | "NUMBER_OF_NESTED_PROJECTS" = "0"
 9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
10 | }
11 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.BasicPage/ModernUI.BasicPage.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/firstfloorsoftware/mui/cbd78931b5ffd1a77c8a82a423100e11015203c2/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.BasicPage/ModernUI.BasicPage.ico


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.BasicPage/ModernUI.BasicPage.vstemplate:
--------------------------------------------------------------------------------
 1 | <?xml version="1.0" encoding="utf-8"?>
 2 | <VSTemplate Version="3.0.0" Type="Item" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" xmlns:sdk="http://schemas.microsoft.com/developer/vstemplate-sdkextension/2010">
 3 |   <TemplateData>
 4 |     <Name>Basic Page</Name>
 5 |     <Description>A Modern UI page with basic layout</Description>
 6 |     <Icon>ModernUI.BasicPage.ico</Icon>
 7 |     <TemplateID>8bad0131-fc49-4eb4-9511-d1d4382c75fb</TemplateID>
 8 |     <ProjectType>CSharp</ProjectType>
 9 |     <RequiredFrameworkVersion>4.0</RequiredFrameworkVersion>
10 |     <NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp>
11 |     <DefaultName>BasicPage.xaml</DefaultName>
12 |   </TemplateData>
13 |   <TemplateContent>
14 |     <References>
15 |       <Reference>
16 |         <Assembly>System</Assembly>
17 |       </Reference>
18 |     </References>
19 |     <ProjectItem ReplaceParameters="true" TargetFileName="$fileinputname$.xaml">BasicPage.xaml</ProjectItem>
20 |     <ProjectItem ReplaceParameters="true" TargetFileName="$fileinputname$.xaml.cs">BasicPage.xaml.cs</ProjectItem>
21 |   </TemplateContent>
22 | </VSTemplate>


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.BasicPage/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("ModernUI.BasicPage")]
 9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("ModernUI.BasicPage")]
13 | [assembly: AssemblyCopyright("Copyright ©  2013")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 | 
17 | // Setting ComVisible to false makes the types in this assembly not visible 
18 | // to COM components.  If you need to access a type in this assembly from 
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 | 
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("b349f4fa-0d47-468a-8741-2afa3071f7c4")]
24 | 
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | //      Major Version
28 | //      Minor Version 
29 | //      Build Number
30 | //      Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers 
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.ListPage/ListPage.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="$rootnamespace$.$safeitemrootname
quot;
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              xmlns:mui="http://firstfloorsoftware.com/ModernUI"
 7 |              mc:Ignorable="d" 
 8 |              d:DesignHeight="300" d:DesignWidth="300">
 9 |     <Grid Style="{StaticResource ContentRoot}">
10 |         <!-- TODO: set @SelectedSource -->
11 |         <mui:ModernTab Layout="List">
12 |             <mui:ModernTab.Links>
13 |                 <!-- TODO: set @Source -->
14 |                 <mui:Link DisplayName="Item 1" />
15 |                 <mui:Link DisplayName="Item 2" />
16 |             </mui:ModernTab.Links>
17 |         </mui:ModernTab>
18 |     </Grid>
19 | </UserControl>
20 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.ListPage/ListPage.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace $rootnamespace$
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for $safeitemrootname$.xaml
20 |     /// </summary>
21 |     public partial class $safeitemrootname$ : UserControl
22 |     {
23 |         public $safeitemrootname$()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.ListPage/ModernUI.ListPage.csproj.vspscc:
--------------------------------------------------------------------------------
 1 | ""
 2 | {
 3 | "FILE_VERSION" = "9237"
 4 | "ENLISTMENT_CHOICE" = "NEVER"
 5 | "PROJECT_FILE_RELATIVE_PATH" = ""
 6 | "NUMBER_OF_EXCLUDED_FILES" = "0"
 7 | "ORIGINAL_PROJECT_FILE_PATH" = ""
 8 | "NUMBER_OF_NESTED_PROJECTS" = "0"
 9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
10 | }
11 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.ListPage/ModernUI.ListPage.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/firstfloorsoftware/mui/cbd78931b5ffd1a77c8a82a423100e11015203c2/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.ListPage/ModernUI.ListPage.ico


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.ListPage/ModernUI.ListPage.vstemplate:
--------------------------------------------------------------------------------
 1 | <?xml version="1.0" encoding="utf-8"?>
 2 | <VSTemplate Version="3.0.0" Type="Item" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" xmlns:sdk="http://schemas.microsoft.com/developer/vstemplate-sdkextension/2010">
 3 |   <TemplateData>
 4 |     <Name>List Page</Name>
 5 |     <Description>A Modern UI page with list layout</Description>
 6 |     <Icon>ModernUI.ListPage.ico</Icon>
 7 |     <TemplateID>6fdc142a-cb7b-4997-95f3-520818f8d759</TemplateID>
 8 |     <ProjectType>CSharp</ProjectType>
 9 |     <RequiredFrameworkVersion>4.0</RequiredFrameworkVersion>
10 |     <NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp>
11 |     <DefaultName>ListPage.xaml</DefaultName>
12 |   </TemplateData>
13 |   <TemplateContent>
14 |     <References>
15 |       <Reference>
16 |         <Assembly>System</Assembly>
17 |       </Reference>
18 |     </References>
19 |     <ProjectItem ReplaceParameters="true" TargetFileName="$fileinputname$.xaml">ListPage.xaml</ProjectItem>
20 |     <ProjectItem ReplaceParameters="true" TargetFileName="$fileinputname$.xaml.cs">ListPage.xaml.cs</ProjectItem>
21 |   </TemplateContent>
22 | </VSTemplate>


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.ListPage/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("ModernUI.ListPage")]
 9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("ModernUI.ListPage")]
13 | [assembly: AssemblyCopyright("Copyright ©  2013")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 | 
17 | // Setting ComVisible to false makes the types in this assembly not visible 
18 | // to COM components.  If you need to access a type in this assembly from 
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 | 
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("b790164d-190e-44b8-bf95-73dec987206a")]
24 | 
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | //      Major Version
28 | //      Minor Version 
29 | //      Build Number
30 | //      Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers 
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.ModernDialog/ModernDialog.xaml:
--------------------------------------------------------------------------------
 1 | <mui:ModernDialog x:Class="$rootnamespace$.$safeitemrootname
quot;
 2 |                   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |                   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |                   xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |                   xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |                   xmlns:mui="http://firstfloorsoftware.com/ModernUI"
 7 |                   mc:Ignorable="d" 
 8 |                   d:DesignHeight="300" d:DesignWidth="300"
 9 |                   Title="ModernDialog">
10 | 
11 |     <!-- Note: ModernDialog buttons are defined in the constructor of the code behind class -->
12 | 
13 |     <TextBlock Text="Replace the content of the dialog with your own." />
14 |     
15 | </mui:ModernDialog>
16 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.ModernDialog/ModernDialog.xaml.cs:
--------------------------------------------------------------------------------
 1 | using FirstFloor.ModernUI.Windows.Controls;
 2 | using System;
 3 | using System.Collections.Generic;
 4 | using System.Linq;
 5 | using System.Text;
 6 | using System.Threading.Tasks;
 7 | using System.Windows;
 8 | using System.Windows.Controls;
 9 | using System.Windows.Data;
10 | using System.Windows.Documents;
11 | using System.Windows.Input;
12 | using System.Windows.Media;
13 | using System.Windows.Media.Imaging;
14 | using System.Windows.Navigation;
15 | using System.Windows.Shapes;
16 | 
17 | namespace $rootnamespace$
18 | {
19 |     /// <summary>
20 |     /// Interaction logic for $safeitemrootname$.xaml
21 |     /// </summary>
22 |     public partial class $safeitemrootname$ : ModernDialog
23 |     {
24 |         public $safeitemrootname$()
25 |         {
26 |             InitializeComponent();
27 | 
28 |             // define the dialog buttons
29 |             this.Buttons = new Button[] { this.OkButton, this.CancelButton };
30 |         }
31 |     }
32 | }
33 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.ModernDialog/ModernUI.ModernDialog.csproj.vspscc:
--------------------------------------------------------------------------------
 1 | ""
 2 | {
 3 | "FILE_VERSION" = "9237"
 4 | "ENLISTMENT_CHOICE" = "NEVER"
 5 | "PROJECT_FILE_RELATIVE_PATH" = ""
 6 | "NUMBER_OF_EXCLUDED_FILES" = "0"
 7 | "ORIGINAL_PROJECT_FILE_PATH" = ""
 8 | "NUMBER_OF_NESTED_PROJECTS" = "0"
 9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
10 | }
11 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.ModernDialog/ModernUI.ModernDialog.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/firstfloorsoftware/mui/cbd78931b5ffd1a77c8a82a423100e11015203c2/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.ModernDialog/ModernUI.ModernDialog.ico


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.ModernDialog/ModernUI.ModernDialog.vstemplate:
--------------------------------------------------------------------------------
 1 | <?xml version="1.0" encoding="utf-8"?>
 2 | <VSTemplate Version="3.0.0" Type="Item" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" xmlns:sdk="http://schemas.microsoft.com/developer/vstemplate-sdkextension/2010">
 3 |   <TemplateData>
 4 |     <Name>Modern Dialog</Name>
 5 |     <Description>A blank ModernDialog instance</Description>
 6 |     <Icon>ModernUI.ModernDialog.ico</Icon>
 7 |     <TemplateID>5a427e7b-0ae0-44c6-a18f-2ac34501d9d2</TemplateID>
 8 |     <ProjectType>CSharp</ProjectType>
 9 |     <RequiredFrameworkVersion>4.0</RequiredFrameworkVersion>
10 |     <NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp>
11 |     <DefaultName>ModernDialog.xaml</DefaultName>
12 |   </TemplateData>
13 |   <TemplateContent>
14 |     <References>
15 |       <Reference>
16 |         <Assembly>System</Assembly>
17 |       </Reference>
18 |     </References>
19 |     <ProjectItem ReplaceParameters="true" TargetFileName="$fileinputname$.xaml">ModernDialog.xaml</ProjectItem>
20 |     <ProjectItem ReplaceParameters="true" TargetFileName="$fileinputname$.xaml.cs">ModernDialog.xaml.cs</ProjectItem>
21 |   </TemplateContent>
22 | </VSTemplate>


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.ModernDialog/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("ModernUI.ModernDialog")]
 9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("ModernUI.ModernDialog")]
13 | [assembly: AssemblyCopyright("Copyright ©  2014")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 | 
17 | // Setting ComVisible to false makes the types in this assembly not visible 
18 | // to COM components.  If you need to access a type in this assembly from 
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 | 
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("3b7495e7-64a0-4b46-ac6a-78b546de583a")]
24 | 
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | //      Major Version
28 | //      Minor Version 
29 | //      Build Number
30 | //      Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers 
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.ModernWindow/ModernUI.ModernWindow.csproj.vspscc:
--------------------------------------------------------------------------------
 1 | ""
 2 | {
 3 | "FILE_VERSION" = "9237"
 4 | "ENLISTMENT_CHOICE" = "NEVER"
 5 | "PROJECT_FILE_RELATIVE_PATH" = ""
 6 | "NUMBER_OF_EXCLUDED_FILES" = "0"
 7 | "ORIGINAL_PROJECT_FILE_PATH" = ""
 8 | "NUMBER_OF_NESTED_PROJECTS" = "0"
 9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
10 | }
11 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.ModernWindow/ModernUI.ModernWindow.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/firstfloorsoftware/mui/cbd78931b5ffd1a77c8a82a423100e11015203c2/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.ModernWindow/ModernUI.ModernWindow.ico


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.ModernWindow/ModernUI.ModernWindow.vstemplate:
--------------------------------------------------------------------------------
 1 | <?xml version="1.0" encoding="utf-8"?>
 2 | <VSTemplate Version="3.0.0" Type="Item" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" xmlns:sdk="http://schemas.microsoft.com/developer/vstemplate-sdkextension/2010">
 3 |   <TemplateData>
 4 |     <Name>Modern Window</Name>
 5 |     <Description>A blank ModernWindow instance</Description>
 6 |     <Icon>ModernUI.ModernWindow.ico</Icon>
 7 |     <TemplateID>518963a5-2133-4f27-b929-c01e01578c54</TemplateID>
 8 |     <ProjectType>CSharp</ProjectType>
 9 |     <RequiredFrameworkVersion>4.0</RequiredFrameworkVersion>
10 |     <NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp>
11 |     <DefaultName>ModernWindow.xaml</DefaultName>
12 |   </TemplateData>
13 |   <TemplateContent>
14 |     <References>
15 |       <Reference>
16 |         <Assembly>System</Assembly>
17 |       </Reference>
18 |     </References>
19 |     <ProjectItem ReplaceParameters="true" TargetFileName="$fileinputname$.xaml">ModernWindow.xaml</ProjectItem>
20 |     <ProjectItem ReplaceParameters="true" TargetFileName="$fileinputname$.xaml.cs">ModernWindow.xaml.cs</ProjectItem>
21 |   </TemplateContent>
22 | </VSTemplate>


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.ModernWindow/ModernWindow.xaml:
--------------------------------------------------------------------------------
 1 | <mui:ModernWindow x:Class="$rootnamespace$.$safeitemrootname
quot;
 2 |                   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |                   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |                   xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |                   xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |                   xmlns:mui="http://firstfloorsoftware.com/ModernUI"
 7 |                   mc:Ignorable="d" 
 8 |                   d:DesignHeight="300" d:DesignWidth="300"
 9 |                   Title="ModernWindow"
10 |                   LogoData="F1 M 24.9015,43.0378L 25.0963,43.4298C 26.1685,49.5853 31.5377,54.2651 38,54.2651C 44.4623,54.2651 49.8315,49.5854 50.9037,43.4299L 51.0985,43.0379C 51.0985,40.7643 52.6921,39.2955 54.9656,39.2955C 56.9428,39.2955 58.1863,41.1792 58.5833,43.0379C 57.6384,52.7654 47.9756,61.75 38,61.75C 28.0244,61.75 18.3616,52.7654 17.4167,43.0378C 17.8137,41.1792 19.0572,39.2954 21.0344,39.2954C 23.3079,39.2954 24.9015,40.7643 24.9015,43.0378 Z M 26.7727,20.5833C 29.8731,20.5833 32.3864,23.0966 32.3864,26.197C 32.3864,29.2973 29.8731,31.8106 26.7727,31.8106C 23.6724,31.8106 21.1591,29.2973 21.1591,26.197C 21.1591,23.0966 23.6724,20.5833 26.7727,20.5833 Z M 49.2273,20.5833C 52.3276,20.5833 54.8409,23.0966 54.8409,26.197C 54.8409,29.2973 52.3276,31.8106 49.2273,31.8106C 46.127,31.8106 43.6136,29.2973 43.6136,26.197C 43.6136,23.0966 46.127,20.5833 49.2273,20.5833 Z"
11 |                   Style="{StaticResource BlankWindow}">
12 |     <ScrollViewer>
13 |         <StackPanel>
14 |             <TextBlock Text="MODERNWINDOW" Style="{StaticResource Heading2}" />
15 |             <TextBlock Text="Your content here" />
16 |         </StackPanel>
17 |     </ScrollViewer>
18 | </mui:ModernWindow>
19 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.ModernWindow/ModernWindow.xaml.cs:
--------------------------------------------------------------------------------
 1 | using FirstFloor.ModernUI.Windows.Controls;
 2 | using System;
 3 | using System.Collections.Generic;
 4 | using System.Linq;
 5 | using System.Text;
 6 | using System.Threading.Tasks;
 7 | using System.Windows;
 8 | using System.Windows.Controls;
 9 | using System.Windows.Data;
10 | using System.Windows.Documents;
11 | using System.Windows.Input;
12 | using System.Windows.Media;
13 | using System.Windows.Media.Imaging;
14 | using System.Windows.Navigation;
15 | using System.Windows.Shapes;
16 | 
17 | namespace $rootnamespace$
18 | {
19 |     /// <summary>
20 |     /// Interaction logic for $safeitemrootname$.xaml
21 |     /// </summary>
22 |     public partial class $safeitemrootname$ : ModernWindow
23 |     {
24 |         public $safeitemrootname$()
25 |         {
26 |             InitializeComponent();
27 |         }
28 |     }
29 | }
30 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.ModernWindow/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("ModernUI.ModernWindow")]
 9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("ModernUI.ModernWindow")]
13 | [assembly: AssemblyCopyright("Copyright ©  2014")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 | 
17 | // Setting ComVisible to false makes the types in this assembly not visible 
18 | // to COM components.  If you need to access a type in this assembly from 
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 | 
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("5569729c-8a29-4a12-96ef-e2344a4ae46a")]
24 | 
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | //      Major Version
28 | //      Minor Version 
29 | //      Build Number
30 | //      Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers 
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.NavigationApp/App.xaml:
--------------------------------------------------------------------------------
 1 | <Application x:Class="$safeprojectname$.App"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              StartupUri="MainWindow.xaml">
 5 |     <Application.Resources>
 6 |         <ResourceDictionary>
 7 |             <ResourceDictionary.MergedDictionaries>
 8 |                 <ResourceDictionary Source="/FirstFloor.ModernUI;component/Assets/ModernUI.xaml" />
 9 |                 <ResourceDictionary Source="/FirstFloor.ModernUI;component/Assets/ModernUI.Light.xaml"/>
10 |             </ResourceDictionary.MergedDictionaries>
11 |         </ResourceDictionary>
12 |     </Application.Resources>
13 | </Application>
14 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.NavigationApp/App.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Configuration;
 4 | using System.Data;
 5 | using System.Linq;
 6 | using System.Threading.Tasks;
 7 | using System.Windows;
 8 | 
 9 | namespace $safeprojectname$
10 | {
11 |     /// <summary>
12 |     /// Interaction logic for App.xaml
13 |     /// </summary>
14 |     public partial class App : Application
15 |     {
16 |     }
17 | }
18 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.NavigationApp/Content/About.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="$safeprojectname$.Content.About"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              mc:Ignorable="d" 
 7 |              d:DesignHeight="300" d:DesignWidth="300">
 8 |     <Grid>
 9 |         <ScrollViewer>
10 |             <StackPanel MinWidth="200">
11 |                 <TextBlock Text="ABOUT" Style="{StaticResource Heading2}" />
12 |                 <TextBlock Text="TODO: provide information about the software" Margin="0,0,0,8" TextWrapping="Wrap" />
13 |             </StackPanel>
14 |         </ScrollViewer>
15 |     </Grid>
16 | </UserControl>
17 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.NavigationApp/Content/About.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace $safeprojectname$.Content
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for About.xaml
20 |     /// </summary>
21 |     public partial class About : UserControl
22 |     {
23 |         public About()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.NavigationApp/Content/SettingsAppearance.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace $safeprojectname$.Content
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for SettingsAppearance.xaml
20 |     /// </summary>
21 |     public partial class SettingsAppearance : UserControl
22 |     {
23 |         public SettingsAppearance()
24 |         {
25 |             InitializeComponent();
26 | 
27 |             // create and assign the appearance view model
28 |             this.DataContext = new SettingsAppearanceViewModel();
29 |         }
30 |     }
31 | }
32 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.NavigationApp/MainWindow.xaml:
--------------------------------------------------------------------------------
 1 | <mui:ModernWindow x:Class="$safeprojectname$.MainWindow"
 2 |         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |         xmlns:mui="http://firstfloorsoftware.com/ModernUI"
 5 |         Title="mui" IsTitleVisible="True"
 6 |         LogoData="F1 M 24.9015,43.0378L 25.0963,43.4298C 26.1685,49.5853 31.5377,54.2651 38,54.2651C 44.4623,54.2651 49.8315,49.5854 50.9037,43.4299L 51.0985,43.0379C 51.0985,40.7643 52.6921,39.2955 54.9656,39.2955C 56.9428,39.2955 58.1863,41.1792 58.5833,43.0379C 57.6384,52.7654 47.9756,61.75 38,61.75C 28.0244,61.75 18.3616,52.7654 17.4167,43.0378C 17.8137,41.1792 19.0572,39.2954 21.0344,39.2954C 23.3079,39.2954 24.9015,40.7643 24.9015,43.0378 Z M 26.7727,20.5833C 29.8731,20.5833 32.3864,23.0966 32.3864,26.197C 32.3864,29.2973 29.8731,31.8106 26.7727,31.8106C 23.6724,31.8106 21.1591,29.2973 21.1591,26.197C 21.1591,23.0966 23.6724,20.5833 26.7727,20.5833 Z M 49.2273,20.5833C 52.3276,20.5833 54.8409,23.0966 54.8409,26.197C 54.8409,29.2973 52.3276,31.8106 49.2273,31.8106C 46.127,31.8106 43.6136,29.2973 43.6136,26.197C 43.6136,23.0966 46.127,20.5833 49.2273,20.5833 Z"          
 7 |         ContentSource="/Pages/Home.xaml">
 8 | 
 9 |     <mui:ModernWindow.MenuLinkGroups>
10 |         <mui:LinkGroup DisplayName="welcome">
11 |             <mui:LinkGroup.Links>
12 |                 <mui:Link DisplayName="home" Source="/Pages/Home.xaml" />
13 |             </mui:LinkGroup.Links>
14 |         </mui:LinkGroup>
15 |         <mui:LinkGroup DisplayName="settings" GroupKey="settings">
16 |             <mui:LinkGroup.Links>
17 |                 <mui:Link DisplayName="software" Source="/Pages/SettingsPage.xaml" />
18 |             </mui:LinkGroup.Links>
19 |         </mui:LinkGroup>
20 |     </mui:ModernWindow.MenuLinkGroups>
21 |     
22 |     <mui:ModernWindow.TitleLinks>
23 |         <mui:Link DisplayName="settings" Source="/Pages/SettingsPage.xaml" />
24 |         <mui:Link DisplayName="help" Source="https://github.com/firstfloorsoftware/mui" />
25 |     </mui:ModernWindow.TitleLinks>
26 | </mui:ModernWindow>
27 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.NavigationApp/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
 1 | using FirstFloor.ModernUI.Windows.Controls;
 2 | using System;
 3 | using System.Collections.Generic;
 4 | using System.Linq;
 5 | using System.Text;
 6 | using System.Threading.Tasks;
 7 | using System.Windows;
 8 | using System.Windows.Controls;
 9 | using System.Windows.Data;
10 | using System.Windows.Documents;
11 | using System.Windows.Input;
12 | using System.Windows.Media;
13 | using System.Windows.Media.Imaging;
14 | using System.Windows.Navigation;
15 | using System.Windows.Shapes;
16 | 
17 | namespace $safeprojectname$
18 | {
19 |     /// <summary>
20 |     /// Interaction logic for MainWindow.xaml
21 |     /// </summary>
22 |     public partial class MainWindow : ModernWindow
23 |     {
24 |         public MainWindow()
25 |         {
26 |             InitializeComponent();
27 |         }
28 |     }
29 | }
30 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.NavigationApp/ModernUI.NavigationApp.csproj.vspscc:
--------------------------------------------------------------------------------
 1 | ""
 2 | {
 3 | "FILE_VERSION" = "9237"
 4 | "ENLISTMENT_CHOICE" = "NEVER"
 5 | "PROJECT_FILE_RELATIVE_PATH" = ""
 6 | "NUMBER_OF_EXCLUDED_FILES" = "0"
 7 | "ORIGINAL_PROJECT_FILE_PATH" = ""
 8 | "NUMBER_OF_NESTED_PROJECTS" = "0"
 9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
10 | }
11 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.NavigationApp/ModernUI.NavigationApp.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/firstfloorsoftware/mui/cbd78931b5ffd1a77c8a82a423100e11015203c2/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.NavigationApp/ModernUI.NavigationApp.ico


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.NavigationApp/Pages/Home.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="$safeprojectname$.Pages.Home"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              mc:Ignorable="d" 
 7 |              d:DesignHeight="300" d:DesignWidth="300">
 8 |     <Grid Style="{StaticResource ContentRoot}">
 9 |         <ScrollViewer>
10 |             <StackPanel MinWidth="200">
11 |                 <TextBlock Text="TODO: add content" />
12 |             </StackPanel>
13 |         </ScrollViewer>
14 |     </Grid>
15 | </UserControl>
16 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.NavigationApp/Pages/Home.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace $safeprojectname$.Pages
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for Home.xaml
20 |     /// </summary>
21 |     public partial class Home : UserControl
22 |     {
23 |         public Home()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.NavigationApp/Pages/Settings/About.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="$safeprojectname$.Pages.Settings.About"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              mc:Ignorable="d" 
 7 |              d:DesignHeight="300" d:DesignWidth="300">
 8 |     <Grid>
 9 |         <ScrollViewer>
10 |             <StackPanel MinWidth="200">
11 |                 <TextBlock Text="ABOUT" Style="{StaticResource Heading2}" />
12 |                 <TextBlock Text="TODO: provide information about the software" Margin="0,0,0,8" TextWrapping="Wrap" />
13 |             </StackPanel>
14 |         </ScrollViewer>
15 |     </Grid>
16 | </UserControl>
17 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.NavigationApp/Pages/Settings/About.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace $safeprojectname$.Pages.Settings
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for About.xaml
20 |     /// </summary>
21 |     public partial class About : UserControl
22 |     {
23 |         public About()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.NavigationApp/Pages/Settings/Appearance.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace $safeprojectname$.Pages.Settings
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for Appearance.xaml
20 |     /// </summary>
21 |     public partial class Appearance : UserControl
22 |     {
23 |         public Appearance()
24 |         {
25 |             InitializeComponent();
26 | 
27 |             // create and assign the appearance view model
28 |             this.DataContext = new AppearanceViewModel();
29 |         }
30 |     }
31 | }
32 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.NavigationApp/Pages/SettingsPage.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="$safeprojectname$.Pages.SettingsPage"
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              xmlns:mui="http://firstfloorsoftware.com/ModernUI"
 7 |              mc:Ignorable="d" 
 8 |              d:DesignHeight="300" d:DesignWidth="300">
 9 |     <Grid Style="{StaticResource ContentRoot}">
10 |         <mui:ModernTab Layout="List" SelectedSource="/Pages/Settings/Appearance.xaml">
11 |             <mui:ModernTab.Links>
12 |                 <mui:Link DisplayName="appearance" Source="/Pages/Settings/Appearance.xaml" />
13 |                 <mui:Link DisplayName="about" Source="/Pages/Settings/About.xaml" />
14 |             </mui:ModernTab.Links>
15 |         </mui:ModernTab>
16 |     </Grid>
17 | </UserControl>
18 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.NavigationApp/Pages/SettingsPage.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace $safeprojectname$.Pages
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for SettingsPage.xaml
20 |     /// </summary>
21 |     public partial class SettingsPage : UserControl
22 |     {
23 |         public SettingsPage()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.NavigationApp/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
 1 | using System.Reflection;
 2 | using System.Runtime.CompilerServices;
 3 | using System.Runtime.InteropServices;
 4 | using System.Windows.Media;
 5 | 
 6 | // General Information about an assembly is controlled through the following 
 7 | // set of attributes. Change these attribute values to modify the information
 8 | // associated with an assembly.
 9 | [assembly: AssemblyTitle("$projectname
quot;)]
10 | [assembly: AssemblyDescription("")]
11 | [assembly: AssemblyConfiguration("")]
12 | [assembly: AssemblyCompany("$registeredorganization
quot;)]
13 | [assembly: AssemblyProduct("$projectname
quot;)]
14 | [assembly: AssemblyCopyright("Copyright © $registeredorganization$ $year
quot;)]
15 | [assembly: AssemblyTrademark("")]
16 | [assembly: AssemblyCulture("")]
17 | 
18 | // Setting ComVisible to false makes the types in this assembly not visible 
19 | // to COM components.  If you need to access a type in this assembly from 
20 | // COM, set the ComVisible attribute to true on that type.
21 | [assembly: ComVisible(false)]
22 | 
23 | // The following GUID is for the ID of the typelib if this project is exposed to COM
24 | [assembly: Guid("$guid1
quot;)]
25 | 
26 | // required to support per-monitor DPI awareness in Windows 8.1+
27 | // see also https://mui.codeplex.com/wikipage?title=Per-monitor%20DPI%20awareness
28 | [assembly: DisableDpiAwareness]
29 | 
30 | // Version information for an assembly consists of the following four values:
31 | //
32 | //      Major Version
33 | //      Minor Version 
34 | //      Build Number
35 | //      Revision
36 | //
37 | // You can specify all the values or you can default the Build and Revision Numbers 
38 | // by using the '*' as shown below:
39 | // [assembly: AssemblyVersion("1.0.*")]
40 | [assembly: AssemblyVersion("1.0.0.0")]
41 | [assembly: AssemblyFileVersion("1.0.0.0")]
42 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.SplitPage/ModernUI.SplitPage.csproj.vspscc:
--------------------------------------------------------------------------------
 1 | ""
 2 | {
 3 | "FILE_VERSION" = "9237"
 4 | "ENLISTMENT_CHOICE" = "NEVER"
 5 | "PROJECT_FILE_RELATIVE_PATH" = ""
 6 | "NUMBER_OF_EXCLUDED_FILES" = "0"
 7 | "ORIGINAL_PROJECT_FILE_PATH" = ""
 8 | "NUMBER_OF_NESTED_PROJECTS" = "0"
 9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
10 | }
11 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.SplitPage/ModernUI.SplitPage.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/firstfloorsoftware/mui/cbd78931b5ffd1a77c8a82a423100e11015203c2/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.SplitPage/ModernUI.SplitPage.ico


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.SplitPage/ModernUI.SplitPage.vstemplate:
--------------------------------------------------------------------------------
 1 | <?xml version="1.0" encoding="utf-8"?>
 2 | <VSTemplate Version="3.0.0" Type="Item" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" xmlns:sdk="http://schemas.microsoft.com/developer/vstemplate-sdkextension/2010">
 3 |   <TemplateData>
 4 |     <Name>Split Page</Name>
 5 |     <Description>A Modern UI page with a split column layout</Description>
 6 |     <Icon>ModernUI.SplitPage.ico</Icon>
 7 |     <TemplateID>86756fb8-bf60-409a-9727-e889bce6c435</TemplateID>
 8 |     <ProjectType>CSharp</ProjectType>
 9 |     <RequiredFrameworkVersion>4.0</RequiredFrameworkVersion>
10 |     <NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp>
11 |     <DefaultName>SplitPage.xaml</DefaultName>
12 |   </TemplateData>
13 |   <TemplateContent>
14 |     <References>
15 |       <Reference>
16 |         <Assembly>System</Assembly>
17 |       </Reference>
18 |     </References>
19 |     <ProjectItem ReplaceParameters="true" TargetFileName="$fileinputname$.xaml">SplitPage.xaml</ProjectItem>
20 |     <ProjectItem ReplaceParameters="true" TargetFileName="$fileinputname$.xaml.cs">SplitPage.xaml.cs</ProjectItem>
21 |   </TemplateContent>
22 | </VSTemplate>


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.SplitPage/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("ModernUI.SplitPage")]
 9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("ModernUI.SplitPage")]
13 | [assembly: AssemblyCopyright("Copyright ©  2013")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 | 
17 | // Setting ComVisible to false makes the types in this assembly not visible 
18 | // to COM components.  If you need to access a type in this assembly from 
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 | 
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("6d766d19-4d5f-4b97-a9fb-f4eafa1b47fd")]
24 | 
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | //      Major Version
28 | //      Minor Version 
29 | //      Build Number
30 | //      Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers 
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.SplitPage/SplitPage.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="$rootnamespace$.$safeitemrootname
quot;
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              xmlns:mui="http://firstfloorsoftware.com/ModernUI"
 7 |              mc:Ignorable="d" 
 8 |              d:DesignHeight="300" d:DesignWidth="300">
 9 |     <Grid Style="{StaticResource ContentRoot}">
10 |         <Grid.ColumnDefinitions>
11 |             <ColumnDefinition Width="*"/>
12 |             <ColumnDefinition Width="6"/>
13 |             <ColumnDefinition Width="*"/>
14 |         </Grid.ColumnDefinitions>
15 | 
16 |         <ScrollViewer Margin="{StaticResource SplitLeft}">
17 |             <StackPanel>
18 |                 <TextBlock Text="LEFT CONTENT" Style="{StaticResource Heading2}" />
19 |                 <TextBlock Text="Content goes here" />
20 |             </StackPanel>
21 |         </ScrollViewer>
22 |         <GridSplitter Grid.Column="1" />
23 |         <ScrollViewer Grid.Column="2 " Margin="{StaticResource SplitRight}">
24 |             <StackPanel>
25 |                 <TextBlock Text="RIGHT CONTENT" Style="{StaticResource Heading2}" />
26 |                 <TextBlock Text="Content goes here" />
27 |             </StackPanel>
28 |         </ScrollViewer>
29 |     </Grid>
30 | </UserControl>
31 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.SplitPage/SplitPage.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace $rootnamespace$
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for $safeitemrootname$.xaml
20 |     /// </summary>
21 |     public partial class $safeitemrootname$ : UserControl
22 |     {
23 |         public $safeitemrootname$()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.TabPage/ModernUI.TabPage.csproj.vspscc:
--------------------------------------------------------------------------------
 1 | ""
 2 | {
 3 | "FILE_VERSION" = "9237"
 4 | "ENLISTMENT_CHOICE" = "NEVER"
 5 | "PROJECT_FILE_RELATIVE_PATH" = ""
 6 | "NUMBER_OF_EXCLUDED_FILES" = "0"
 7 | "ORIGINAL_PROJECT_FILE_PATH" = ""
 8 | "NUMBER_OF_NESTED_PROJECTS" = "0"
 9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
10 | }
11 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.TabPage/ModernUI.TabPage.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/firstfloorsoftware/mui/cbd78931b5ffd1a77c8a82a423100e11015203c2/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.TabPage/ModernUI.TabPage.ico


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.TabPage/ModernUI.TabPage.vstemplate:
--------------------------------------------------------------------------------
 1 | <?xml version="1.0" encoding="utf-8"?>
 2 | <VSTemplate Version="3.0.0" Type="Item" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" xmlns:sdk="http://schemas.microsoft.com/developer/vstemplate-sdkextension/2010">
 3 |   <TemplateData>
 4 |     <Name>Tab Page</Name>
 5 |     <Description>A Modern UI page with tab layout</Description>
 6 |     <Icon>ModernUI.TabPage.ico</Icon>
 7 |     <TemplateID>9df78389-57a5-474b-8dfa-9f534b52fced</TemplateID>
 8 |     <ProjectType>CSharp</ProjectType>
 9 |     <RequiredFrameworkVersion>4.0</RequiredFrameworkVersion>
10 |     <NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp>
11 |     <DefaultName>TabPage.xaml</DefaultName>
12 |   </TemplateData>
13 |   <TemplateContent>
14 |     <References>
15 |       <Reference>
16 |         <Assembly>System</Assembly>
17 |       </Reference>
18 |     </References>
19 |     <ProjectItem ReplaceParameters="true" TargetFileName="$fileinputname$.xaml">TabPage.xaml</ProjectItem>
20 |     <ProjectItem ReplaceParameters="true" TargetFileName="$fileinputname$.xaml.cs">TabPage.xaml.cs</ProjectItem>
21 |   </TemplateContent>
22 | </VSTemplate>


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.TabPage/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("ModernUI.TabPage")]
 9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("ModernUI.TabPage")]
13 | [assembly: AssemblyCopyright("Copyright ©  2013")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 | 
17 | // Setting ComVisible to false makes the types in this assembly not visible 
18 | // to COM components.  If you need to access a type in this assembly from 
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 | 
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("127d5765-407e-4dc1-a299-a6db2ae91343")]
24 | 
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | //      Major Version
28 | //      Minor Version 
29 | //      Build Number
30 | //      Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers 
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.TabPage/TabPage.xaml:
--------------------------------------------------------------------------------
 1 | <UserControl x:Class="$rootnamespace$.$safeitemrootname
quot;
 2 |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3 |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4 |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 5 |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 6 |              xmlns:mui="http://firstfloorsoftware.com/ModernUI"
 7 |              mc:Ignorable="d" 
 8 |              d:DesignHeight="300" d:DesignWidth="300">
 9 |     <Grid Style="{StaticResource ContentRoot}">
10 |         <!-- TODO: set @SelectedSource -->
11 |         <mui:ModernTab Layout="Tab">
12 |             <mui:ModernTab.Links>
13 |                 <!-- TODO: set @Source -->
14 |                 <mui:Link DisplayName="Item 1" />
15 |                 <mui:Link DisplayName="Item 2" />
16 |             </mui:ModernTab.Links>
17 |         </mui:ModernTab>
18 |     </Grid>
19 | </UserControl>
20 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.TabPage/TabPage.xaml.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Controls;
 8 | using System.Windows.Data;
 9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | 
16 | namespace $rootnamespace$
17 | {
18 |     /// <summary>
19 |     /// Interaction logic for $safeitemrootname$.xaml
20 |     /// </summary>
21 |     public partial class $safeitemrootname$ : UserControl
22 |     {
23 |         public $safeitemrootname$()
24 |         {
25 |             InitializeComponent();
26 |         }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.Templates.vssscc:
--------------------------------------------------------------------------------
 1 | ""
 2 | {
 3 | "FILE_VERSION" = "9237"
 4 | "ENLISTMENT_CHOICE" = "NEVER"
 5 | "PROJECT_FILE_RELATIVE_PATH" = ""
 6 | "NUMBER_OF_EXCLUDED_FILES" = "0"
 7 | "ORIGINAL_PROJECT_FILE_PATH" = ""
 8 | "NUMBER_OF_NESTED_PROJECTS" = "0"
 9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROJECT"
10 | }
11 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.Templates/ModernUI.Templates.csproj.vspscc:
--------------------------------------------------------------------------------
 1 | ""
 2 | {
 3 | "FILE_VERSION" = "9237"
 4 | "ENLISTMENT_CHOICE" = "NEVER"
 5 | "PROJECT_FILE_RELATIVE_PATH" = ""
 6 | "NUMBER_OF_EXCLUDED_FILES" = "0"
 7 | "ORIGINAL_PROJECT_FILE_PATH" = ""
 8 | "NUMBER_OF_NESTED_PROJECTS" = "0"
 9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
10 | }
11 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.Templates/ModernUI.icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/firstfloorsoftware/mui/cbd78931b5ffd1a77c8a82a423100e11015203c2/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.Templates/ModernUI.icon.png


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.Templates/ModernUI.preview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/firstfloorsoftware/mui/cbd78931b5ffd1a77c8a82a423100e11015203c2/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.Templates/ModernUI.preview.png


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.Templates/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("ModernUI.Templates")]
 9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("ModernUI.Templates")]
13 | [assembly: AssemblyCopyright("")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 | 
17 | // Setting ComVisible to false makes the types in this assembly not visible 
18 | // to COM components.  If you need to access a type in this assembly from 
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 | 
22 | // Version information for an assembly consists of the following four values:
23 | //
24 | //      Major Version
25 | //      Minor Version 
26 | //      Build Number
27 | //      Revision
28 | //
29 | // You can specify all the values or you can default the Build and Revision Numbers 
30 | // by using the '*' as shown below:
31 | // [assembly: AssemblyVersion("1.0.*")]
32 | [assembly: AssemblyVersion("1.0.0.0")]
33 | [assembly: AssemblyFileVersion("1.0.0.0")]
34 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.Theme/ModernUI.Theme.csproj.vspscc:
--------------------------------------------------------------------------------
 1 | ""
 2 | {
 3 | "FILE_VERSION" = "9237"
 4 | "ENLISTMENT_CHOICE" = "NEVER"
 5 | "PROJECT_FILE_RELATIVE_PATH" = ""
 6 | "NUMBER_OF_EXCLUDED_FILES" = "0"
 7 | "ORIGINAL_PROJECT_FILE_PATH" = ""
 8 | "NUMBER_OF_NESTED_PROJECTS" = "0"
 9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
10 | }
11 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.Theme/ModernUI.Theme.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/firstfloorsoftware/mui/cbd78931b5ffd1a77c8a82a423100e11015203c2/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.Theme/ModernUI.Theme.ico


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.Theme/ModernUI.Theme.vstemplate:
--------------------------------------------------------------------------------
 1 | <?xml version="1.0" encoding="utf-8"?>
 2 | <VSTemplate Version="3.0.0" Type="Item" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" xmlns:sdk="http://schemas.microsoft.com/developer/vstemplate-sdkextension/2010">
 3 |   <TemplateData>
 4 |     <Name>Modern UI Theme</Name>
 5 |     <Description>A custom Modern UI theme</Description>
 6 |     <Icon>ModernUI.Theme.ico</Icon>
 7 |     <TemplateID>ba0a9f66-7bae-43ad-95d7-eb7c73aa8d4f</TemplateID>
 8 |     <ProjectType>CSharp</ProjectType>
 9 |     <RequiredFrameworkVersion>4.0</RequiredFrameworkVersion>
10 |     <NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp>
11 |     <DefaultName>ModernUI.Theme.xaml</DefaultName>
12 |   </TemplateData>
13 |   <TemplateContent>
14 |     <References>
15 |       <Reference>
16 |         <Assembly>System</Assembly>
17 |       </Reference>
18 |     </References>
19 |     <ProjectItem ReplaceParameters="true" TargetFileName="$fileinputname$.xaml">ModernUI.Theme.xaml</ProjectItem>
20 |   </TemplateContent>
21 | </VSTemplate>


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.Theme/ModernUI.Theme.xaml:
--------------------------------------------------------------------------------
 1 | <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 2 |                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 3 |                     xmlns:mui="http://firstfloorsoftware.com/ModernUI">
 4 | 
 5 |     <!-- derive from Light or Dark theme-->
 6 |     <ResourceDictionary.MergedDictionaries>
 7 |         <ResourceDictionary Source="/FirstFloor.ModernUI;component/Assets/ModernUI.Light.xaml" />
 8 |     </ResourceDictionary.MergedDictionaries>
 9 | 
10 |     <!-- specify the accent color (optional) -->
11 |     <Color x:Key="AccentColor">#60a917</Color>
12 | 
13 |     <!-- custom theme resources-->
14 |     <Rectangle x:Key="WindowBackgroundContent" x:Shared="false">
15 |         <Rectangle.Fill>
16 |             <LinearGradientBrush EndPoint="0,1" Opacity=".2">
17 |                 <GradientStop Offset="0" Color="Transparent" />
18 |                 <GradientStop Offset="1" Color="{DynamicResource AccentColor}" />
19 |             </LinearGradientBrush>
20 |         </Rectangle.Fill>
21 |     </Rectangle>
22 | </ResourceDictionary>


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.Templates/ModernUI.Theme/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("ModernUI.Theme")]
 9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("ModernUI.Theme")]
13 | [assembly: AssemblyCopyright("Copyright ©  2013")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 | 
17 | // Setting ComVisible to false makes the types in this assembly not visible 
18 | // to COM components.  If you need to access a type in this assembly from 
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 | 
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("d4c5abe0-eb39-4f24-b163-7a6d70cee1ee")]
24 | 
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | //      Major Version
28 | //      Minor Version 
29 | //      Build Number
30 | //      Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers 
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.WPF4/FirstFloor.ModernUI.WPF4.csproj.vspscc:
--------------------------------------------------------------------------------
 1 | ""
 2 | {
 3 | "FILE_VERSION" = "9237"
 4 | "ENLISTMENT_CHOICE" = "NEVER"
 5 | "PROJECT_FILE_RELATIVE_PATH" = ""
 6 | "NUMBER_OF_EXCLUDED_FILES" = "0"
 7 | "ORIGINAL_PROJECT_FILE_PATH" = ""
 8 | "NUMBER_OF_NESTED_PROJECTS" = "0"
 9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
10 | }
11 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.vssscc:
--------------------------------------------------------------------------------
 1 | ""
 2 | {
 3 | "FILE_VERSION" = "9237"
 4 | "ENLISTMENT_CHOICE" = "NEVER"
 5 | "PROJECT_FILE_RELATIVE_PATH" = ""
 6 | "NUMBER_OF_EXCLUDED_FILES" = "0"
 7 | "ORIGINAL_PROJECT_FILE_PATH" = ""
 8 | "NUMBER_OF_NESTED_PROJECTS" = "0"
 9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROJECT"
10 | }
11 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI/FirstFloor.ModernUI.csproj.vspscc:
--------------------------------------------------------------------------------
 1 | ""
 2 | {
 3 | "FILE_VERSION" = "9237"
 4 | "ENLISTMENT_CHOICE" = "NEVER"
 5 | "PROJECT_FILE_RELATIVE_PATH" = ""
 6 | "NUMBER_OF_EXCLUDED_FILES" = "0"
 7 | "ORIGINAL_PROJECT_FILE_PATH" = ""
 8 | "NUMBER_OF_NESTED_PROJECTS" = "0"
 9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
10 | }
11 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/License.icons.txt:
--------------------------------------------------------------------------------
 1 | Read the license:
 2 | http://creativecommons.org/licenses/by/3.0/ *
 3 | 
 4 | - If your project is open source include this license file.
 5 | - Nothing is needed in the front facing project (UNLESS you
 6 |   are using any of the icons listed below in the attribution section).
 7 | - Commercial use is not only allowed but encouraged. Do not worry you
 8 |   do not have to attribute, I know how much of a pain that is. If it is
 9 |   an icon in the attribution list below, you still need to attribute those!
10 | - Do not distribute the entire package (I've allowed this dozens of
11 |   times for open source projects, but email me first).
12 | 
13 | Creator
14 | - Austin Andrews (@templarian)
15 | 
16 | Contributor**
17 | - Oren Nachman
18 |   - appbar.chevron.down
19 |   - appbar.chevron.up
20 |   - appbar.chevron.left
21 |   - appbar.chevron.right
22 | 
23 | Attribution***
24 | - Kris Vandermotten (@kvandermotten)
25 |   - appbar.medical.pulse
26 | - Constantin Kichinsky (@kichinsky)
27 |   - appbar.currency.rubles
28 |   - appbar.currency.grivna
29 | - Massimo Savazzi (@msavazzi)
30 |   - List of missing exported icons
31 | - Proletkult Graphik, from The Noun Project
32 |   - appbar.draw.pen (inspired)
33 | - Olivier Guin, from The Noun Project
34 |   - appbar.draw.marker
35 | - Gibran Bisio, from The Noun Project
36 |   - appbar.draw.bucket
37 | Andrew Forrester, from The Noun Project
38 |   - appbar.fingerprint
39 | 
40 | ** Developers and designers that emailed Templarian the source .design icons to be added into the package. PNGs also accepted, but may take longer to be added.
41 | *** Icons I've copied so closely you want to attribute them and are also under the CC license.
42 | 
43 | Contact
44 | - http://templarian.com/
45 | - admin[@]templarian[.]com
46 | 
47 | * Does not apply to copyrighted logos
48 | - Skype
49 | - Facebook
50 | - Twitter
51 | - etc...


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/ReadMe.txt:
--------------------------------------------------------------------------------
 1 | Modern UI for WPF
 2 | 
 3 | CONTENTS
 4 | ========
 5 | 
 6 | FirstFloor.ModernUI.dll
 7 | FirstFloor.ModernUI.xml
 8 |   The ModernUI binary and XML documentation for .NET 4.5
 9 | 
10 | ModernUIDemo.exe 
11 |   A .NET 4.5 application demonstrating most features of Modern UI for WPF
12 | 
13 | License\
14 |   License files
15 | 
16 | net40\
17 |   .NET4 build of Modern UI for WPF
18 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Assets/Converters.xaml:
--------------------------------------------------------------------------------
 1 | <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 2 |                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 3 |                     xmlns:converters="clr-namespace:FirstFloor.ModernUI.Windows.Converters">
 4 | 
 5 |     <converters:BooleanToFontWeightConverter x:Key="BooleanToFontWeightConverter" />
 6 |     <converters:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
 7 |     <converters:NullToVisibilityConverter x:Key="NullToVisibilityConverter" />
 8 |     <converters:NullOrEmptyStringToVisibilityConverter x:Key="NullOrEmptyStringToVisibilityConverter" />
 9 |     <converters:ToUpperConverter x:Key="ToUpperConverter" />
10 |     <converters:ToLowerConverter x:Key="ToLowerConverter" />
11 | 
12 | </ResourceDictionary>


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Assets/GridSplitter.xaml:
--------------------------------------------------------------------------------
 1 | <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 2 |                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
 3 | 
 4 |     <Style TargetType="GridSplitter">
 5 |         <Setter Property="Background" Value="{DynamicResource SeparatorBackground}" />
 6 |         <Setter Property="VerticalAlignment" Value="Stretch" />
 7 |         <Setter Property="HorizontalAlignment" Value="Stretch" />
 8 |         <Setter Property="Template">
 9 |             <Setter.Value>
10 |                 <ControlTemplate TargetType="{x:Type GridSplitter}">
11 |                     <Border Background="{TemplateBinding Background}"/>
12 |                 </ControlTemplate>
13 |             </Setter.Value>
14 |         </Setter>
15 |     </Style>
16 | </ResourceDictionary>


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Assets/Hyperlink.xaml:
--------------------------------------------------------------------------------
 1 | <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 2 |                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
 3 | 
 4 |     <Style x:Key="{x:Type Hyperlink}" TargetType="{x:Type Hyperlink}">
 5 |         <Setter Property="Foreground" Value="{DynamicResource Hyperlink}"/>
 6 |         <Setter Property="TextDecorations" Value="Underline"/>
 7 |         <Style.Triggers>
 8 |             <Trigger Property="IsMouseOver" Value="True">
 9 |                 <Setter Property="Foreground" Value="{DynamicResource HyperlinkHover}" />
10 |             </Trigger>
11 |             <Trigger Property="IsEnabled" Value="False">
12 |                 <Setter Property="Foreground" Value="{DynamicResource HyperlinkDisabled}"/>
13 |             </Trigger>
14 |             <Trigger Property="IsEnabled" Value="True">
15 |                 <Setter Property="Cursor" Value="Hand"/>
16 |             </Trigger>
17 |         </Style.Triggers>
18 |     </Style>
19 | </ResourceDictionary>


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Assets/Label.xaml:
--------------------------------------------------------------------------------
 1 | <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 2 |                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
 3 |     <Style x:Key="{x:Type Label}" TargetType="{x:Type Label}">
 4 |         <Setter Property="Foreground" Value="{DynamicResource WindowText}"/>
 5 |         <Setter Property="Background" Value="Transparent"/>
 6 |         <Setter Property="HorizontalContentAlignment" Value="Left"/>
 7 |         <Setter Property="VerticalContentAlignment" Value="Top"/>
 8 |         <Setter Property="Padding" Value="0" />
 9 |         <Setter Property="Template">
10 |             <Setter.Value>
11 |                 <ControlTemplate TargetType="{x:Type Label}">
12 |                     <Border Background="{TemplateBinding Background}"
13 |                             BorderThickness="{TemplateBinding BorderThickness}"
14 |                             BorderBrush="{TemplateBinding BorderBrush}"
15 |                             Padding="{TemplateBinding Padding}"
16 |                             SnapsToDevicePixels="true">
17 |                         <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
18 |                                           VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
19 |                                           RecognizesAccessKey="True"
20 |                                           SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
21 |                     </Border>
22 |                     <ControlTemplate.Triggers>
23 |                         <Trigger Property="IsEnabled" Value="false">
24 |                             <Setter Property="Foreground" Value="{DynamicResource WindowTextReadOnly}"/>
25 |                         </Trigger>
26 |                     </ControlTemplate.Triggers>
27 |                 </ControlTemplate>
28 |             </Setter.Value>
29 |         </Setter>
30 |     </Style>
31 | </ResourceDictionary>


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Presentation/Displayable.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | 
 7 | namespace FirstFloor.ModernUI.Presentation
 8 | {
 9 |     /// <summary>
10 |     /// Provides a base implementation for objects that are displayed in the UI.
11 |     /// </summary>
12 |     public abstract class Displayable
13 |         : NotifyPropertyChanged
14 |     {
15 |         private string displayName;
16 | 
17 |         /// <summary>
18 |         /// Gets or sets the display name.
19 |         /// </summary>
20 |         /// <value>The display name.</value>
21 |         public string DisplayName
22 |         {
23 |             get { return this.displayName; }
24 |             set
25 |             {
26 |                 if (this.displayName != value) {
27 |                     this.displayName = value;
28 |                     OnPropertyChanged("DisplayName");
29 |                 }
30 |             }
31 |         }
32 |     }
33 | }
34 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Presentation/FontSize.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | 
 7 | namespace FirstFloor.ModernUI.Presentation
 8 | {
 9 |     /// <summary>
10 |     /// Identifies the available font size.
11 |     /// </summary>
12 |     public enum FontSize
13 |     {
14 |         /// <summary>
15 |         /// Large fonts.
16 |         /// </summary>
17 |         Large,
18 |         /// <summary>
19 |         /// Small fonts.
20 |         /// </summary>
21 |         Small
22 |     }
23 | }
24 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Presentation/Link.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | 
 7 | namespace FirstFloor.ModernUI.Presentation
 8 | {
 9 |     /// <summary>
10 |     /// Represents a displayable link.
11 |     /// </summary>
12 |     public class Link
13 |         : Displayable
14 |     {
15 |         private Uri source;
16 | 
17 |         /// <summary>
18 |         /// Gets or sets the source uri.
19 |         /// </summary>
20 |         /// <value>The source.</value>
21 |         public Uri Source
22 |         {
23 |             get { return this.source; }
24 |             set
25 |             {
26 |                 if (this.source != value) {
27 |                     this.source = value;
28 |                     OnPropertyChanged("Source");
29 |                 }
30 |             }
31 |         }
32 |     }
33 | }
34 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Presentation/LinkCollection.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Collections.ObjectModel;
 4 | using System.Linq;
 5 | using System.Text;
 6 | using System.Threading.Tasks;
 7 | using System.Windows.Input;
 8 | 
 9 | namespace FirstFloor.ModernUI.Presentation
10 | {
11 |     /// <summary>
12 |     /// Represents an observable collection of links.
13 |     /// </summary>
14 |     public class LinkCollection
15 |         : ObservableCollection<Link>
16 |     {
17 |         /// <summary>
18 |         /// Initializes a new instance of the <see cref="LinkCollection"/> class.
19 |         /// </summary>
20 |         public LinkCollection()
21 |         {
22 |         }
23 | 
24 |         /// <summary>
25 |         /// Initializes a new instance of the <see cref="LinkCollection"/> class that contains specified links.
26 |         /// </summary>
27 |         /// <param name="links">The links that are copied to this collection.</param>
28 |         public LinkCollection(IEnumerable<Link> links)
29 |         {
30 |             if (links == null) {
31 |                 throw new ArgumentNullException("links");
32 |             }
33 |             foreach (var link in links) {
34 |                 Add(link);
35 |             }
36 |         }
37 |     }
38 | }
39 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Presentation/LinkGroup.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | 
 7 | namespace FirstFloor.ModernUI.Presentation
 8 | {
 9 |     /// <summary>
10 |     /// Represents a named group of links.
11 |     /// </summary>
12 |     public class LinkGroup
13 |         : Displayable
14 |     {
15 |         private string groupKey;
16 |         private Link selectedLink;
17 |         private LinkCollection links = new LinkCollection();
18 | 
19 |         /// <summary>
20 |         /// Gets or sets the key of the group.
21 |         /// </summary>
22 |         /// <value>The key of the group.</value>
23 |         /// <remarks>
24 |         /// The group key is used to group link groups in a <see cref="FirstFloor.ModernUI.Windows.Controls.ModernMenu"/>.
25 |         /// </remarks>
26 |         public string GroupKey
27 |         {
28 |             get { return this.groupKey; }
29 |             set
30 |             {
31 |                 if (this.groupKey != value) {
32 |                     this.groupKey = value;
33 |                     OnPropertyChanged("GroupKey");
34 |                 }
35 |             }
36 |         }
37 | 
38 |         /// <summary>
39 |         /// Gets or sets the selected link in this group.
40 |         /// </summary>
41 |         /// <value>The selected link.</value>
42 |         internal Link SelectedLink
43 |         {
44 |             get { return this.selectedLink; }
45 |             set
46 |             {
47 |                 if (this.selectedLink != value) {
48 |                     this.selectedLink = value;
49 |                     OnPropertyChanged("SelectedLink");
50 |                 }
51 |             }
52 |         }
53 | 
54 |         /// <summary>
55 |         /// Gets the links.
56 |         /// </summary>
57 |         /// <value>The links.</value>
58 |         public LinkCollection Links
59 |         {
60 |             get { return this.links; }
61 |         }
62 |     }
63 | }
64 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Presentation/LinkGroupCollection.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Collections.ObjectModel;
 4 | using System.Linq;
 5 | using System.Text;
 6 | using System.Threading.Tasks;
 7 | using System.Windows.Input;
 8 | 
 9 | namespace FirstFloor.ModernUI.Presentation
10 | {
11 |     /// <summary>
12 |     /// Represents an observable collection of link groups.
13 |     /// </summary>
14 |     public class LinkGroupCollection
15 |         : ObservableCollection<LinkGroup>
16 |     {
17 |     }
18 | }
19 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Presentation/NotifyPropertyChanged.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.ComponentModel;
 4 | using System.Linq;
 5 | using System.Runtime.CompilerServices;
 6 | using System.Text;
 7 | using System.Threading.Tasks;
 8 | 
 9 | namespace FirstFloor.ModernUI.Presentation
10 | {
11 |     /// <summary>
12 |     /// The base implementation of the INotifyPropertyChanged contract.
13 |     /// </summary>
14 |     public abstract class NotifyPropertyChanged
15 |         : INotifyPropertyChanged
16 |     {
17 |         /// <summary>
18 |         /// Occurs when a property value changes.
19 |         /// </summary>
20 |         public event PropertyChangedEventHandler PropertyChanged;
21 | 
22 |         /// <summary>
23 |         /// Raises the PropertyChanged event.
24 |         /// </summary>
25 |         /// <param name="propertyName">Name of the property.</param>
26 |         protected virtual void OnPropertyChanged(string propertyName)
27 |         {
28 |             var handler = this.PropertyChanged;
29 |             if (handler != null) {
30 |                 handler(this, new PropertyChangedEventArgs(propertyName));
31 |             }
32 |         }
33 | 
34 | #if !NET4
35 |         /// <summary>
36 |         /// Updates specified value, and raises the <see cref="PropertyChanged"/> event when the value has changed.
37 |         /// </summary>
38 |         /// <typeparam name="T">The type of the value.</typeparam>
39 |         /// <param name="storage">The current stored value</param>
40 |         /// <param name="value">The new value</param>
41 |         /// <param name="propertyName">The optional property name, automatically set to caller member name when not set.</param>
42 |         /// <returns>Indicates whether the value has changed.</returns>
43 |         protected bool Set<T>(ref T storage, T value, [CallerMemberName]string propertyName = null)
44 |         {
45 |             if (!object.Equals(storage, value)) {
46 |                 storage = value;
47 |                 OnPropertyChanged(propertyName);
48 |                 return true;
49 |             }
50 |             return false;
51 |         }
52 | #endif
53 |     }
54 | }
55 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Presentation/ReadOnlyLinkGroupCollection.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Collections.ObjectModel;
 4 | using System.Linq;
 5 | using System.Text;
 6 | using System.Threading.Tasks;
 7 | using System.Windows.Input;
 8 | 
 9 | namespace FirstFloor.ModernUI.Presentation
10 | {
11 |     /// <summary>
12 |     /// Represents a read-only observable collection of link groups.
13 |     /// </summary>
14 |     public class ReadOnlyLinkGroupCollection
15 |         : ReadOnlyObservableCollection<LinkGroup>
16 |     {
17 |         /// <summary>
18 |         /// Initializes a new instance of the <see cref="ReadOnlyLinkGroupCollection"/> class.
19 |         /// </summary>
20 |         /// <param name="list">The <see cref="LinkGroupCollection"/> with which to create this instance of the <see cref="ReadOnlyLinkGroupCollection"/> class.</param>
21 |         public ReadOnlyLinkGroupCollection(LinkGroupCollection list)
22 |             : base(list)
23 |         {
24 |             this.List = list;
25 |         }
26 | 
27 |         /// <summary>
28 |         /// Provides access to the wrapped list.
29 |         /// </summary>
30 |         internal LinkGroupCollection List { get; private set; }
31 |     }
32 | }
33 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/ProcessDpiAwareness.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | 
 7 | namespace FirstFloor.ModernUI
 8 | {
 9 |     /// <summary>
10 |     /// Identifies dots per inch (dpi) awareness values.
11 |     /// </summary>
12 |     public enum ProcessDpiAwareness
13 |     {
14 |         /// <summary>
15 |         /// Process is not DPI aware.
16 |         /// </summary>
17 |         DpiUnaware = 0,
18 |         /// <summary>
19 |         /// Process is system DPI aware (= WPF default).
20 |         /// </summary>
21 |         SystemDpiAware = 1,
22 |         /// <summary>
23 |         /// Process is per monitor DPI aware (Win81+ only).
24 |         /// </summary>
25 |         PerMonitorDpiAware = 2
26 |     }
27 | }
28 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Resources.fr.Designer.cs:
--------------------------------------------------------------------------------
1 | 
2 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Resources.it.Designer.cs:
--------------------------------------------------------------------------------
1 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Resources.pl.Designer.cs:
--------------------------------------------------------------------------------
1 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Resources.ru.Designer.cs:
--------------------------------------------------------------------------------
1 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Shared.shproj:
--------------------------------------------------------------------------------
 1 | <?xml version="1.0" encoding="utf-8"?>
 2 | <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
 3 |   <PropertyGroup Label="Globals">
 4 |     <ProjectGuid>{EEDA74FC-CA5A-4C06-9654-2600B74E2D1D}</ProjectGuid>
 5 |   </PropertyGroup>
 6 |   <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
 7 |   <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.Default.props" />
 8 |   <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.props" />
 9 |   <PropertyGroup />
10 |   <Import Project="Shared.projitems" Label="Shared" />
11 |   <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.CSharp.targets" />
12 | </Project>


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Themes/BBCodeBlock.xaml:
--------------------------------------------------------------------------------
 1 | <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 2 |                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 3 |                     xmlns:controls="clr-namespace:FirstFloor.ModernUI.Windows.Controls">
 4 |     
 5 |     <Style TargetType="controls:BBCodeBlock">
 6 |         <Setter Property="TextTrimming" Value="CharacterEllipsis" />
 7 |         <Setter Property="TextWrapping" Value="Wrap" />
 8 |     </Style>
 9 |     
10 | </ResourceDictionary>


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Themes/Generic.xaml:
--------------------------------------------------------------------------------
 1 | <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 2 |                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 3 |                     xmlns:controls="clr-namespace:FirstFloor.ModernUI.Windows.Controls"
 4 |                     xmlns:shell="http://schemas.microsoft.com/winfx/2006/xaml/presentation/shell">
 5 |     
 6 |     <ResourceDictionary.MergedDictionaries>
 7 |         <ResourceDictionary Source="/FirstFloor.ModernUI;component/Themes/BBCodeBlock.xaml" />
 8 |         <ResourceDictionary Source="/FirstFloor.ModernUI;component/Themes/ModernButton.xaml" />
 9 |         <ResourceDictionary Source="/FirstFloor.ModernUI;component/Themes/ModernToggleButton.xaml" />
10 |         <ResourceDictionary Source="/FirstFloor.ModernUI;component/Themes/ModernDialog.xaml" />
11 |         <ResourceDictionary Source="/FirstFloor.ModernUI;component/Themes/ModernFrame.xaml" />
12 |         <ResourceDictionary Source="/FirstFloor.ModernUI;component/Themes/ModernMenu.xaml" />
13 |         <ResourceDictionary Source="/FirstFloor.ModernUI;component/Themes/ModernProgressRing.xaml" />
14 |         <ResourceDictionary Source="/FirstFloor.ModernUI;component/Themes/ModernTab.xaml" />
15 |         <ResourceDictionary Source="/FirstFloor.ModernUI;component/Themes/ModernWindow.xaml" />
16 |         <ResourceDictionary Source="/FirstFloor.ModernUI;component/Themes/TransitioningContentControl.xaml" />
17 |     </ResourceDictionary.MergedDictionaries>
18 |  
19 | </ResourceDictionary>


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Win32/MonitorDpiType.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | 
 7 | namespace FirstFloor.ModernUI.Win32
 8 | {
 9 |     internal enum MonitorDpiType
10 |     {
11 |         EffectiveDpi = 0,
12 |         AngularDpi = 1,
13 |         RawDpi = 2,
14 |         Default = EffectiveDpi,
15 |     }
16 | }
17 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Win32/NativeMethods.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Runtime.InteropServices;
 5 | using System.Text;
 6 | using System.Threading.Tasks;
 7 | using System.Windows;
 8 | 
 9 | namespace FirstFloor.ModernUI.Win32
10 | {
11 |     internal class NativeMethods
12 |     {
13 |         public const int S_OK = 0;
14 |         public const int WM_DPICHANGED = 0x02E0;
15 |         public const int MONITOR_DEFAULTTONEAREST = 0x00000002;
16 | 
17 |         [DllImport("Shcore.dll")]
18 |         public static extern int GetProcessDpiAwareness(IntPtr hprocess, out ProcessDpiAwareness value);
19 |         [DllImport("Shcore.dll")]
20 |         public static extern int SetProcessDpiAwareness(ProcessDpiAwareness value);
21 |         [DllImport("user32.dll")]
22 |         public static extern bool IsProcessDPIAware();
23 |         [DllImport("user32.dll")]
24 |         public static extern int SetProcessDPIAware();
25 |         [DllImport("shcore.dll")]
26 |         public static extern int GetDpiForMonitor(IntPtr hMonitor, int dpiType, ref uint xDpi, ref uint yDpi);
27 |         [DllImport("user32.dll")]
28 |         public static extern IntPtr MonitorFromWindow(IntPtr hwnd, int flag);
29 |     }
30 | }
31 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Win32/RECT.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Runtime.InteropServices;
 5 | using System.Text;
 6 | using System.Threading.Tasks;
 7 | 
 8 | namespace FirstFloor.ModernUI.Win32
 9 | {
10 |     [StructLayout(LayoutKind.Sequential)]
11 |     internal struct RECT
12 |     {
13 |         public int left, top, right, bottom;
14 |     }
15 | }
16 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Windows/CommandDictionary.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows.Input;
 7 | 
 8 | namespace FirstFloor.ModernUI.Windows
 9 | {
10 |     /// <summary>
11 |     /// Represents a collection of commands keyed by a uri.
12 |     /// </summary>
13 |     public class CommandDictionary
14 |         : Dictionary<Uri, ICommand>
15 |     {
16 |     }
17 | }
18 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Windows/Controls/BBCode/ParseException.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Runtime.Serialization;
 3 | 
 4 | namespace FirstFloor.ModernUI.Windows.Controls.BBCode
 5 | {
 6 |     /// <summary>
 7 |     /// The exception for parse errors.
 8 |     /// </summary>
 9 |     internal class ParseException
10 |         : Exception
11 |     {
12 |         /// <summary>
13 |         /// Initializes a new instance of the <see cref="ParseException"/> class.
14 |         /// </summary>
15 |         public ParseException()
16 |         {
17 |         }
18 | 
19 |         /// <summary>
20 |         /// Initializes a new instance of the <see cref="ParseException"/> class.
21 |         /// </summary>
22 |         /// <param name="message">The message.</param>
23 |         public ParseException(string message)
24 |             : base(message)
25 |         {
26 |         }
27 | 
28 |         /// <summary>
29 |         /// Initializes a new instance of the <see cref="ParseException"/> class.
30 |         /// </summary>
31 |         /// <param name="message">The message.</param>
32 |         /// <param name="innerException">The inner exception.</param>
33 |         public ParseException(string message, Exception innerException)
34 |             : base(message, innerException)
35 |         {
36 |         }
37 |     }
38 | }
39 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Windows/Controls/DataGridCheckBoxColumn.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | 
 8 | namespace FirstFloor.ModernUI.Windows.Controls
 9 | {
10 |     /// <summary>
11 |     /// A DataGrid checkbox column using default Modern UI element styles.
12 |     /// </summary>
13 |     public class DataGridCheckBoxColumn
14 |         : System.Windows.Controls.DataGridCheckBoxColumn
15 |     {
16 |         /// <summary>
17 |         /// Initializes a new instance of the <see cref="DataGridCheckBoxColumn"/> class.
18 |         /// </summary>
19 |         public DataGridCheckBoxColumn()
20 |         {
21 |             this.ElementStyle = Application.Current.Resources["DataGridCheckBoxStyle"] as Style;
22 |             this.EditingElementStyle = Application.Current.Resources["DataGridEditingCheckBoxStyle"] as Style;
23 |         }
24 |     }
25 | }
26 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Windows/Controls/DataGridComboBoxColumn.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | 
 8 | namespace FirstFloor.ModernUI.Windows.Controls
 9 | {
10 |     /// <summary>
11 |     /// A DataGrid checkbox column using default Modern UI element styles.
12 |     /// </summary>
13 |     public class DataGridComboBoxColumn
14 |         : System.Windows.Controls.DataGridComboBoxColumn
15 |     {
16 |         /// <summary>
17 |         /// Initializes a new instance of the <see cref="DataGridComboBoxColumn"/> class.
18 |         /// </summary>
19 |         public DataGridComboBoxColumn()
20 |         {
21 |             this.EditingElementStyle = Application.Current.Resources["DataGridEditingComboBoxStyle"] as Style;
22 |         }
23 |     }
24 | }
25 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Windows/Controls/DataGridTextColumn.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | 
 8 | namespace FirstFloor.ModernUI.Windows.Controls
 9 | {
10 |     /// <summary>
11 |     /// A DataGrid text column using default Modern UI element styles.
12 |     /// </summary>
13 |     public class DataGridTextColumn
14 |         : System.Windows.Controls.DataGridTextColumn
15 |     {
16 |         /// <summary>
17 |         /// Initializes a new instance of the <see cref="DataGridTextColumn"/> class.
18 |         /// </summary>
19 |         public DataGridTextColumn()
20 |         {
21 |             this.ElementStyle = Application.Current.Resources["DataGridTextStyle"] as Style;
22 |             this.EditingElementStyle = Application.Current.Resources["DataGridEditingTextStyle"] as Style;
23 |         }
24 |     }
25 | }
26 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Windows/Controls/SourceEventArgs.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | 
 7 | namespace FirstFloor.ModernUI.Windows.Controls
 8 | {
 9 |     /// <summary>
10 |     /// Provides data for events related to uri sources.
11 |     /// </summary>
12 |     public class SourceEventArgs
13 |         : EventArgs
14 |     {
15 |         /// <summary>
16 |         /// Initializes a new instance of the <see cref="SourceEventArgs"/> class.
17 |         /// </summary>
18 |         /// <param name="source"></param>
19 |         public SourceEventArgs(Uri source)
20 |         {
21 |             this.Source = source;
22 |         }
23 | 
24 |         /// <summary>
25 |         /// Gets the source uri.
26 |         /// </summary>
27 |         public Uri Source { get; private set; }
28 |     }
29 | }
30 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Windows/Controls/TabLayout.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | 
 7 | namespace FirstFloor.ModernUI.Windows.Controls
 8 | {
 9 |     /// <summary>
10 |     /// Define the available tab layouts.
11 |     /// </summary>
12 |     public enum TabLayout
13 |     {
14 |         /// <summary>
15 |         /// Tab layout.
16 |         /// </summary>
17 |         Tab,
18 |         /// <summary>
19 |         /// List layout.
20 |         /// </summary>
21 |         List
22 |     }
23 | }
24 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Windows/Converters/ToUpperConverter.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Windows.Data;
 6 | 
 7 | namespace FirstFloor.ModernUI.Windows.Converters
 8 | {
 9 |     /// <summary>
10 |     /// Converts string values to upper case.
11 |     /// </summary>
12 |     public class ToUpperConverter
13 |         : IValueConverter
14 |     {
15 |         /// <summary>
16 |         /// Converts a value.
17 |         /// </summary>
18 |         /// <param name="value">The value produced by the binding source.</param>
19 |         /// <param name="targetType">The type of the binding target property.</param>
20 |         /// <param name="parameter">The converter parameter to use.</param>
21 |         /// <param name="culture">The culture to use in the converter.</param>
22 |         /// <returns>
23 |         /// A converted value. If the method returns null, the valid null value is used.
24 |         /// </returns>
25 |         public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
26 |         {
27 |             if (value != null) {
28 |                 var strValue = value.ToString();
29 | 
30 |                 return strValue.ToUpperInvariant();
31 |             }
32 |             return null;
33 |         }
34 | 
35 |         /// <summary>
36 |         /// Converts a value.
37 |         /// </summary>
38 |         /// <param name="value">The value that is produced by the binding target.</param>
39 |         /// <param name="targetType">The type to convert to.</param>
40 |         /// <param name="parameter">The converter parameter to use.</param>
41 |         /// <param name="culture">The culture to use in the converter.</param>
42 |         /// <returns>
43 |         /// A converted value. If the method returns null, the valid null value is used.
44 |         /// </returns>
45 |         public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
46 |         {
47 |             throw new NotSupportedException();
48 |         }
49 |     }
50 | }
51 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Windows/DefaultContentLoader.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading;
 6 | using System.Threading.Tasks;
 7 | using System.Windows;
 8 | 
 9 | namespace FirstFloor.ModernUI.Windows
10 | {
11 |     /// <summary>
12 |     /// Loads XAML files using Application.LoadComponent.
13 |     /// </summary>
14 |     public class DefaultContentLoader
15 |         : IContentLoader
16 |     {
17 |         /// <summary>
18 |         /// Asynchronously loads content from specified uri.
19 |         /// </summary>
20 |         /// <param name="uri">The content uri.</param>
21 |         /// <param name="cancellationToken">The token used to cancel the load content task.</param>
22 |         /// <returns>The loaded content.</returns>
23 |         public Task<object> LoadContentAsync(Uri uri, CancellationToken cancellationToken)
24 |         {
25 |             if (!Application.Current.Dispatcher.CheckAccess()) {
26 |                throw new InvalidOperationException(Resources.UIThreadRequired);
27 |             }
28 |             
29 |             // scheduler ensures LoadContent is executed on the current UI thread
30 |             var scheduler = TaskScheduler.FromCurrentSynchronizationContext();
31 |             return Task.Factory.StartNew(() => LoadContent(uri), cancellationToken, TaskCreationOptions.None, scheduler);
32 |         }
33 | 
34 |         /// <summary>
35 |         /// Loads the content from specified uri.
36 |         /// </summary>
37 |         /// <param name="uri">The content uri</param>
38 |         /// <returns>The loaded content.</returns>
39 |         protected virtual object LoadContent(Uri uri)
40 |         {
41 |             // don't do anything in design mode
42 |             if (ModernUIHelper.IsInDesignMode) {
43 |                 return null;
44 |             }
45 |             return Application.LoadComponent(uri);
46 |         }
47 |     }
48 | }
49 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Windows/IContent.cs:
--------------------------------------------------------------------------------
 1 | using FirstFloor.ModernUI.Windows.Navigation;
 2 | using System;
 3 | using System.Collections.Generic;
 4 | using System.Linq;
 5 | using System.Text;
 6 | using System.Threading.Tasks;
 7 | 
 8 | namespace FirstFloor.ModernUI.Windows
 9 | {
10 |     /// <summary>
11 |     /// Defines the optional contract for content loaded in a ModernFrame.
12 |     /// </summary>
13 |     public interface IContent
14 |     {
15 |         /// <summary>
16 |         /// Called when navigation to a content fragment begins.
17 |         /// </summary>
18 |         /// <param name="e">An object that contains the navigation data.</param>
19 |         void OnFragmentNavigation(FragmentNavigationEventArgs e);
20 |         /// <summary>
21 |         /// Called when this instance is no longer the active content in a frame.
22 |         /// </summary>
23 |         /// <param name="e">An object that contains the navigation data.</param>
24 |         void OnNavigatedFrom(NavigationEventArgs e);
25 |         /// <summary>
26 |         /// Called when a this instance becomes the active content in a frame.
27 |         /// </summary>
28 |         /// <param name="e">An object that contains the navigation data.</param>
29 |         void OnNavigatedTo(NavigationEventArgs e);
30 |         /// <summary>
31 |         /// Called just before this instance is no longer the active content in a frame.
32 |         /// </summary>
33 |         /// <param name="e">An object that contains the navigation data.</param>
34 |         /// <remarks>The method is also invoked when parent frames are about to navigate.</remarks>
35 |         void OnNavigatingFrom(NavigatingCancelEventArgs e);
36 |     }
37 | }
38 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Windows/IContentLoader.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading;
 6 | using System.Threading.Tasks;
 7 | 
 8 | namespace FirstFloor.ModernUI.Windows
 9 | {
10 |     /// <summary>
11 |     /// The contract for loading content.
12 |     /// </summary>
13 |     public interface IContentLoader
14 |     {
15 |         /// <summary>
16 |         /// Asynchronously loads content from specified uri.
17 |         /// </summary>
18 |         /// <param name="uri">The content uri.</param>
19 |         /// <param name="cancellationToken">The token used to cancel the load content task.</param>
20 |         /// <returns>The loaded content.</returns>
21 |         Task<object> LoadContentAsync(Uri uri, CancellationToken cancellationToken);
22 |     }
23 | }
24 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Windows/Navigation/FragmentNavigationEventArgs.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | 
 7 | namespace FirstFloor.ModernUI.Windows.Navigation
 8 | {
 9 |     /// <summary>
10 |     /// Provides data for fragment navigation events.
11 |     /// </summary>
12 |     public class FragmentNavigationEventArgs
13 |         : EventArgs
14 |     {
15 |         /// <summary>
16 |         /// Gets the uniform resource identifier (URI) fragment.
17 |         /// </summary>
18 |         public string Fragment { get; internal set; }
19 |     }
20 | }
21 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Windows/Navigation/ILinkNavigator.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | 
 8 | namespace FirstFloor.ModernUI.Windows.Navigation
 9 | {
10 |     /// <summary>
11 |     /// The hyperlink navigator contract.
12 |     /// </summary>
13 |     public interface ILinkNavigator
14 |     {
15 |         /// <summary>
16 |         /// Gets or sets the navigable commands.
17 |         /// </summary>
18 |         CommandDictionary Commands { get; set; }
19 |         /// <summary>
20 |         /// Performs navigation to specified link.
21 |         /// </summary>
22 |         /// <param name="uri">The uri to navigate to.</param>
23 |         /// <param name="source">The source element that triggers the navigation. Required for frame navigation.</param>
24 |         /// <param name="parameter">An optional command parameter or navigation target.</param>
25 |         void Navigate(Uri uri, FrameworkElement source, string parameter = null);
26 |     }
27 | }
28 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Windows/Navigation/LinkCommands.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using System.Windows;
 7 | using System.Windows.Input;
 8 | 
 9 | namespace FirstFloor.ModernUI.Windows.Navigation
10 | {
11 |     /// <summary>
12 |     /// The routed link commands.
13 |     /// </summary>
14 |     public static class LinkCommands
15 |     {
16 |         private static RoutedUICommand navigateLink = new RoutedUICommand(Resources.NavigateLink, "NavigateLink", typeof(LinkCommands));
17 | 
18 |         /// <summary>
19 |         /// Gets the navigate link routed command.
20 |         /// </summary>
21 |         public static RoutedUICommand NavigateLink
22 |         {
23 |             get { return navigateLink; }
24 |         }
25 |     }
26 | }
27 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Windows/Navigation/NavigatingCancelEventArgs.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.ComponentModel;
 4 | using System.Linq;
 5 | using System.Text;
 6 | using System.Threading.Tasks;
 7 | using System.Windows.Controls;
 8 | using FirstFloor.ModernUI.Windows.Controls;
 9 | 
10 | namespace FirstFloor.ModernUI.Windows.Navigation
11 | {
12 |     /// <summary>
13 |     /// Provides data for the <see cref="IContent.OnNavigatingFrom" /> method and the <see cref="ModernFrame.Navigating"/> event.
14 |     /// </summary>
15 |     public class NavigatingCancelEventArgs
16 |         : NavigationBaseEventArgs
17 |     {
18 |         /// <summary>
19 |         /// Gets a value indicating whether the frame performing the navigation is a parent frame or the frame itself.
20 |         /// </summary>
21 |         public bool IsParentFrameNavigating { get; internal set; }
22 |         /// <summary>
23 |         /// Gets a value that indicates the type of navigation that is occurring.
24 |         /// </summary>
25 |         public NavigationType NavigationType { get; internal set; }
26 |         /// <summary>
27 |         /// Gets or sets a value indicating whether the event should be canceled.
28 |         /// </summary>
29 |         public bool Cancel { get; set; }
30 |     }
31 | }
32 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Windows/Navigation/NavigationBaseEventArgs.cs:
--------------------------------------------------------------------------------
 1 | using FirstFloor.ModernUI.Windows.Controls;
 2 | using System;
 3 | using System.Collections.Generic;
 4 | using System.Linq;
 5 | using System.Text;
 6 | using System.Threading.Tasks;
 7 | 
 8 | namespace FirstFloor.ModernUI.Windows.Navigation
 9 | {
10 |     /// <summary>
11 |     /// Defines the base navigation event arguments.
12 |     /// </summary>
13 |     public abstract class NavigationBaseEventArgs
14 |         : EventArgs
15 |     {
16 |         /// <summary>
17 |         /// Gets the frame that raised this event.
18 |         /// </summary>
19 |         public ModernFrame Frame { get; internal set; }
20 |         /// <summary>
21 |         /// Gets the source uri for the target being navigated to.
22 |         /// </summary>
23 |         public Uri Source { get; internal set; }
24 |     }
25 | }
26 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Windows/Navigation/NavigationEventArgs.cs:
--------------------------------------------------------------------------------
 1 | using FirstFloor.ModernUI.Windows.Controls;
 2 | using System;
 3 | using System.Collections.Generic;
 4 | using System.Linq;
 5 | using System.Text;
 6 | using System.Threading.Tasks;
 7 | 
 8 | namespace FirstFloor.ModernUI.Windows.Navigation
 9 | {
10 |     /// <summary>
11 |     /// Provides data for frame navigation events.
12 |     /// </summary>
13 |     public class NavigationEventArgs
14 |         : NavigationBaseEventArgs
15 |     {
16 |         /// <summary>
17 |         /// Gets a value that indicates the type of navigation that is occurring.
18 |         /// </summary>
19 |         public NavigationType NavigationType { get; internal set; }
20 |         /// <summary>
21 |         /// Gets the content of the target being navigated to.
22 |         /// </summary>
23 |         public object Content { get; internal set; }
24 |     }
25 | }
26 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Windows/Navigation/NavigationFailedEventArgs.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | using FirstFloor.ModernUI.Windows.Controls;
 7 | 
 8 | namespace FirstFloor.ModernUI.Windows.Navigation
 9 | {
10 |     /// <summary>
11 |     /// Provides data for the <see cref="ModernFrame.NavigationFailed"/> event.
12 |     /// </summary>
13 |     public class NavigationFailedEventArgs
14 |         : NavigationBaseEventArgs
15 |     {
16 |         /// <summary>
17 |         /// Gets the error from the failed navigation.
18 |         /// </summary>
19 |         public Exception Error { get; internal set; }
20 |         /// <summary>
21 |         /// Gets or sets a value that indicates whether the failure event has been handled.
22 |         /// </summary>
23 |         /// <remarks>
24 |         /// When not handled, the error is displayed in the ModernFrame raising the NavigationFailed event.
25 |         /// </remarks>
26 |         public bool Handled { get; set; }
27 |     }
28 | }
29 | 


--------------------------------------------------------------------------------
/1.0/FirstFloor.ModernUI/Shared/Windows/Navigation/NavigationType.cs:
--------------------------------------------------------------------------------
 1 | using System;
 2 | using System.Collections.Generic;
 3 | using System.Linq;
 4 | using System.Text;
 5 | using System.Threading.Tasks;
 6 | 
 7 | namespace FirstFloor.ModernUI.Windows.Navigation
 8 | {
 9 |     /// <summary>
10 |     /// Identifies the types of navigation that are supported.
11 |     /// </summary>
12 |     public enum NavigationType
13 |     {
14 |         /// <summary>
15 |         /// Navigating to new content.
16 |         /// </summary>
17 |         New,
18 |         /// <summary>
19 |         /// Navigating back in the back navigation history.
20 |         /// </summary>
21 |         Back,
22 |         /// <summary>
23 |         /// Reloading the current content.
24 |         /// </summary>
25 |         Refresh
26 |     }
27 | }
28 | 


--------------------------------------------------------------------------------