KsWare.Presentation.Themes.Aero2Dark 0.1.5

dotnet add package KsWare.Presentation.Themes.Aero2Dark --version 0.1.5                
NuGet\Install-Package KsWare.Presentation.Themes.Aero2Dark -Version 0.1.5                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="KsWare.Presentation.Themes.Aero2Dark" Version="0.1.5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KsWare.Presentation.Themes.Aero2Dark --version 0.1.5                
#r "nuget: KsWare.Presentation.Themes.Aero2Dark, 0.1.5"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install KsWare.Presentation.Themes.Aero2Dark as a Cake Addin
#addin nuget:?package=KsWare.Presentation.Themes.Aero2Dark&version=0.1.5

// Install KsWare.Presentation.Themes.Aero2Dark as a Cake Tool
#tool nuget:?package=KsWare.Presentation.Themes.Aero2Dark&version=0.1.5                

KsWare.Presentation.Themes.Aero2Dark

Usage

Application

app.xaml

    <Application.Resources>
         <ResourceDictionary>
             <ResourceDictionary.MergedDictionaries>
                 <aero2Dark:OverrideResources
				 	ThemeColors="Aero2Dark.Override.ThemeColors.xaml" -->
				 	ButtonColors="Aero2Dark.Override.ButtonColors.xaml" -->
				/>
	            <ThemeResourceDictionary ThemeName="Aero2Dark" Source="/KsWare.Presentation.Themes.Aero2Dark;component/Resources/Aero2Dark.NormalColor.xaml"/>
             </ResourceDictionary.MergedDictionaries>
         </ResourceDictionary>
    </Application.Resources>

Local

app.xaml *)

    <Application.Resources>
         <ResourceDictionary>
             <ResourceDictionary.MergedDictionaries>
                 <aero2Dark:OverrideResources
				 	ThemeColors="Aero2Dark.Override.ThemeColors.xaml" -->
				 	ButtonColors="Aero2Dark.Override.ButtonColors.xaml" -->
				/>
             </ResourceDictionary.MergedDictionaries>
         </ResourceDictionary>
    </Application.Resources>

*) OverrideResources only works in app.xaml

Window.xaml

<Window 
  ...
  ThemeLoader.Source="/KsWare.Presentation.Themes.Aero2Dark;component/Resources/Aero2Dark.NormalColor.xaml"
  ...>

The ThemeLoader works with all ResourceDictionaries it is a shortcut for:

    <Window.Resources>
         <ResourceDictionary>
             <ResourceDictionary.MergedDictionaries>
	            <ThemeResourceDictionary ThemeName="Aero2Dark" Source="/KsWare.Presentation.Themes.Aero2Dark;component/Resources/Aero2Dark.NormalColor.xaml"/>
             </ResourceDictionary.MergedDictionaries>
         </ResourceDictionary>
    </Window.Resources>
Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.5 133 9/16/2024