Table of Contents

Class ColorHelper

Namespace
Alternet.Common.Wpf
Assembly
Alternet.Common.Wpf.v10.dll

Provides additional functionality for System.Windows.Media.Color objects.

public static class ColorHelper
Inheritance
ColorHelper

Methods

FromRgb(int)

Creates a System.Windows.Media.Color structure from a 32-bit RGB value. The alpha value is 255.

GetContrastBrush(Brush, Brush)

Converts the given brush to the contrasting brush for the specified background.