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 SaturationBrightnessSquare class.

public SaturationBrightnessSquare()

Properties

BrightnessBrush

Gets the Brush used to render brightness.

public Brush BrightnessBrush { get; }

Property Value

Brush:

The Brush used to render brightness.

Hue

Gets or sets the base color hue.

public double Hue { get; set; }

Property Value

double:

The base color hue.

SaturationBrush

Gets the Brush used to render saturation.

public Brush SaturationBrush { get; }

Property Value

Brush:

The Brush used to render saturation.

Fields

BrightnessBrushProperty

Identifies the BrightnessBrush dependency property. This field is read-only.

public static readonly DependencyProperty BrightnessBrushProperty

HueProperty

Identifies the Hue dependency property. This field is read-only.

public static readonly DependencyProperty HueProperty

SaturationBrushProperty

Identifies the SaturationBrush dependency property. This field is read-only.

public static readonly DependencyProperty SaturationBrushProperty