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
| Assembly | Binarymission.WPF.Skinning.dll |
| Root namespace | Binarymission.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">
<bm:BinarySkinKeys />
</Window>
API reference
Binarymission.WPF.Skinning
class BinarySkin | A 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 BinarySkinColor | The 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 BinarySkinDensity | How closely controls that follow BinarySkinManager pack their commands. |
class BinarySkinFormatException | A 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 BinarySkinKeys | The keys BinarySkinManager publishes the skin in force under, in the application's resources, for a control or a window to draw with. |
class BinarySkinManager | Holds the skin in force for the whole application, publishes it in the application's resources under BinarySkinKeys, and says when it changes. |
class BinarySkinProblem | Two 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 BinarySkinSerializer | Reads and writes skins as JSON files. |
enum BinarySkinTheme | The skins built into the library, which Create(BinarySkinTheme) makes and a skin file names as the one it starts from. |
class BinarySkins | Makes the built-in skins. |
class ColorContrast | Measures how well one colour reads on another, and moves a colour just far enough to read. |
class WindowsAppearance | The light or dark mode and the accent colour the user has chosen in Windows. |