Skip to content

Commit

Permalink
Update MaterialDesignTheme.MahApps for MahApps v1.6.5 (#1006)
Browse files Browse the repository at this point in the history
* Updated Version of #898 that uses MahApps.Metro v1.6.5

* Fix for MahApps.NumericUpDown Controller

* Fixing indentation

* Fixing up nuspec changes.

* Reving test projects and packet dependencies.
  • Loading branch information
ahmed-abdelrazek authored and punker76 committed Aug 24, 2018
1 parent a790372 commit 2f649b2
Show file tree
Hide file tree
Showing 15 changed files with 275 additions and 66 deletions.
2 changes: 2 additions & 0 deletions MahMaterialDragablzMashUp/Mah.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@
Style="{DynamicResource AccentedSquareButtonStyle}" />
<controls:RangeSlider Margin="0 16 0 0" LowerValue="25" UpperValue="75" />
<controls:RangeSlider Margin="0 16 0 0" LowerValue="25" UpperValue="75" Orientation="Vertical" Height="200" />
<controls:NumericUpDown Margin="5"/>
<controls:NumericUpDown Culture="ar-EG" FlowDirection="RightToLeft" Margin="5"/>
</StackPanel>
</UserControl>
1 change: 0 additions & 1 deletion MainDemo.Wpf/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>

<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Light.xaml" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Primary/MaterialDesignColor.DeepPurple.xaml" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,11 @@
</ItemGroup>
</When>
</Choose>
<Import Project="..\packages\NETStandard.Library\build\NETStandard.Library.targets" Condition="Exists('..\packages\NETStandard.Library\build\NETStandard.Library.targets')" Label="Paket" />
<ItemGroup>
<Analyzer Include="..\packages\xunit.analyzers\analyzers\dotnet\cs\xunit.analyzers.dll">
<Paket>True</Paket>
</Analyzer>
</ItemGroup>
<ItemGroup>
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
</ItemGroup>
<Choose>
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.2')">
<ItemGroup>
Expand All @@ -126,7 +122,16 @@
</When>
</Choose>
<Choose>
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.2')">
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.5.2'">
<ItemGroup>
<Reference Include="xunit.core">
<HintPath>..\packages\xunit.extensibility.core\lib\net452\xunit.core.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
</ItemGroup>
</When>
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.5'">
<ItemGroup>
<Reference Include="xunit.core">
<HintPath>..\packages\xunit.extensibility.core\lib\netstandard1.1\xunit.core.dll</HintPath>
Expand Down
3 changes: 2 additions & 1 deletion MaterialDesignColors.Wpf.Tests/paket.references
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Shouldly
xunit
xunit
xunit.runner.visualstudio
6 changes: 3 additions & 3 deletions MaterialDesignColors.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<title>Material Design Colors XAML Resources</title>
<authors>James Willock</authors>
<owners>James Willock</owners>
<licenseUrl>https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/ButchersBoy/MaterialDesignInXamlToolkit</projectUrl>
<licenseUrl>https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit</projectUrl>
<iconUrl>http://materialdesigninxaml.net/images/MD4XAML32.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>ResourceDictionary instances containing standard Google Material Design swatches, for inclusion in a XAML application.</description>
<releaseNotes>https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/releases</releaseNotes>
<releaseNotes>https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit/releases</releaseNotes>
<copyright>Copyright 2015 James Willock/Mulholland Software Ltd</copyright>
<tags>WPF XAML WinRT Material Design Colour Color UI UX</tags>
</metadata>
Expand Down
6 changes: 3 additions & 3 deletions MaterialDesignThemes.MahApps.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<title>Material Design Themes XAML Resources For MahApps Controls</title>
<authors>James Willock</authors>
<owners>James Willock</owners>
<licenseUrl>http://opensource.org/licenses/MS-PL</licenseUrl>
<projectUrl>https://github.com/ButchersBoy/MaterialDesignInXamlToolkit</projectUrl>
<licenseUrl>https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit</projectUrl>
<iconUrl>http://materialdesigninxaml.net/images/MD4XAML32.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>ResourceDictionary instances containing Material Design templates and styles for WPF controls in the MahApps library.</description>
<releaseNotes>https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/releases</releaseNotes>
<releaseNotes>https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit/releases</releaseNotes>
<copyright>Copyright 2015 James Willock/Mulholland Software Ltd</copyright>
<tags>WPF XAML WinRT Material Design Theme Colour Color UI UX</tags>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<AppDesigner Include="Properties\" />
<Page Include="Themes\MaterialDesignTheme.MahApps.NumericUpDown.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MaterialDesignThemes.Wpf\MaterialDesignThemes.Wpf.csproj">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.MahApps;component/Themes/MaterialDesignTheme.MahApps.Fonts.xaml" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.MahApps;component/Themes/MaterialDesignTheme.MahApps.Flyout.xaml" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.MahApps;component/Themes/MaterialDesignTheme.MahApps.Flyout.xaml"/>
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.MahApps;component/Themes/MaterialDesignTheme.MahApps.NumericUpDown.xaml"/>
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.MahApps;component/Themes/MaterialDesignTheme.MahApps.RangeSlider.xaml" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.MahApps;component/Themes/MaterialDesignTheme.MahApps.WindowCommands.xaml" />
</ResourceDictionary.MergedDictionaries>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,4 @@
</Trigger>
</Style.Triggers>
</Style>
</ResourceDictionary>



</ResourceDictionary>
Loading

0 comments on commit 2f649b2

Please sign in to comment.