HypernovaDesktop Components · docs
Binarymission
WPF › Skinning

Skinning

.NET Framework 4.8.NET 6 / 8 / 10v2.0.0WPF

Skins for the Binarymission WPF controls: colours by role, built-in Fluent skins, an application-wide skin manager and JSON skin files.

12public types
102public members
1namespaces

Assembly

AssemblyBinarymission.WPF.Skinning.dll
Root namespaceBinarymission.WPF.Skinning
Target frameworks.NET Framework 4.8, .NET 6 / 8 / 10

Getting started

<Window x:Class="MyApp.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:bm="clr-namespace:Binarymission.WPF.Skinning;assembly=Binarymission.WPF.Skinning"&gt;

    <bm:BinarySkinKeys />

</Window>

API reference

Binarymission.WPF.Skinning

class BinarySkinA skin: the colours controls are drawn in, each named for the place it is used, with the corner rounding and window effects that go with them.
enum BinarySkinColorThe colours a BinarySkin is made of. Each one names the place it is used, not a hue, so that a control asks for "the text on a surface" and gets whatever the skin in force says that is.
enum BinarySkinDensityHow closely controls that follow BinarySkinManager pack their commands.
class BinarySkinFormatExceptionA skin file that is not JSON, or is JSON that does not describe a skin. The message names the line and column of the mistake.
class BinarySkinKeysThe keys BinarySkinManager publishes the skin in force under, in the application's resources, for a control or a window to draw with.
class BinarySkinManagerHolds the skin in force for the whole application, publishes it in the application's resources under BinarySkinKeys, and says when it changes.
class BinarySkinProblemTwo colours of a skin that are too alike: text that would be hard to read, or a change of state a user could not see.
class BinarySkinSerializerReads and writes skins as JSON files.
enum BinarySkinThemeThe skins built into the library, which Create(BinarySkinTheme) makes and a skin file names as the one it starts from.
class BinarySkinsMakes the built-in skins.
class ColorContrastMeasures how well one colour reads on another, and moves a colour just far enough to read.
class WindowsAppearanceThe light or dark mode and the accent colour the user has chosen in Windows.