OC.Assistant.Theme 2.1.0

dotnet add package OC.Assistant.Theme --version 2.1.0
                    
NuGet\Install-Package OC.Assistant.Theme -Version 2.1.0
                    
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="OC.Assistant.Theme" Version="2.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OC.Assistant.Theme" Version="2.1.0" />
                    
Directory.Packages.props
<PackageReference Include="OC.Assistant.Theme" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OC.Assistant.Theme --version 2.1.0
                    
#r "nuget: OC.Assistant.Theme, 2.1.0"
                    
#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.
#:package OC.Assistant.Theme@2.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OC.Assistant.Theme&version=2.1.0
                    
Install as a Cake Addin
#tool nuget:?package=OC.Assistant.Theme&version=2.1.0
                    
Install as a Cake Tool

Open Commissioning Assistant Theme

The official WPF Theme of the Open Commissioning Assistant.

NuGet Status

How to use:

  1. Create a WPF Application project with target framework .NET8 or .NET Framework 4.8.1
  2. Add the OC.Assistant.Theme package via nuget
  3. Add the ResourceDictionary of the theme to your App.xaml:
<Application x:Class="OC.Assistant.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:theme="http://schemas.open-commissioning-assistant.com/2024"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
        <theme:ResourceDictionary />
    </Application.Resources>
</Application>
  1. Replace the default Window class by the theme:Window class in your MainWindow.xaml. Content inside the TitleBar can als be rendered by setting theme:Window.TitleBarContent property.
<theme:Window x:Class="MyApplication.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:theme="http://schemas.open-commissioning-assistant.com/2024"
        mc:Ignorable="d"
		ShowIcon="True"
		ShowTitle="False">
    <theme:Windows.TitleBarContent>
        
    </theme:Windows.TitleBarContent>
    <Grid>
        
    </Grid>
</theme:Window>

Further details about all implemented styles and controls can be found in the GitHub Repository of this package.

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
.NET Framework net481 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8.1

    • No dependencies.
  • net8.0-windows7.0

    • No dependencies.

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
2.1.0 0 7/23/2025
2.0.1 116 7/15/2025
2.0.0 101 7/12/2025
1.5.0 142 7/9/2025
1.4.13 82 7/4/2025
1.4.12 143 6/17/2025
1.4.11 147 5/28/2025
1.4.10 219 4/14/2025
1.4.9 165 3/20/2025
1.4.8 145 3/19/2025
1.4.7 130 2/18/2025
1.4.5 152 1/3/2025
1.4.4 130 1/3/2025
1.4.3 120 11/22/2024
1.4.2 143 11/11/2024
1.4.1 117 11/11/2024
1.4.0 109 11/8/2024