In This Article

SaturationBrightnessSquare Class

Represents a square that renders the saturation and brightness variants of a color.

public class SaturationBrightnessSquare : Control
Inheritance:
object Visual UIElement FrameworkElement Control object

Constructors

SaturationBrightnessSquare()

Initializes an instance of the class.

public SaturationBrightnessSquare()

Properties

BrightnessBrush

TBrush used to render brightness.

public Brush? BrightnessBrush { get; }

Property Value

Brush

Hue

The base color hue.

public double Hue { get; set; }

Property Value

double

SaturationBrush

The Brush used to render saturation.

public Brush? SaturationBrush { get; }

Property Value

Brush

Fields

BrightnessBrushProperty

Defines the BrightnessBrush property.

public static readonly DependencyProperty BrightnessBrushProperty

HueProperty

Defines the Hue property.

public static readonly DependencyProperty HueProperty

SaturationBrushProperty

Defines the SaturationBrush property.

public static readonly DependencyProperty SaturationBrushProperty

Extension Methods