New to Telerik UI for WPFStart a free 30-day trial

Represents a unified view of all color schemas (RGB, HLS, HSV, CMYK and HEX).

Definition

Constructors

Initializes a new instance of the UnifiedColorViewModel class.

C#
public UnifiedColorViewModel(RadColorEditor colorEditor)
Parameters:colorEditorRadColorEditor

The color editor.

Properties

Gets or sets the Cyan, Magenta, Yellow, Key/Black (CMYK) color view model.

C#
public CmykaColorViewModel Cmyka { get; set; }
Property Value:

The color.

Gets or sets the HEX color view model.

C#
public HexColorViewModel Hex { get; set; }
Property Value:

The hex.

Gets or sets the Hue, Luminance, Saturation (HLS) color view model.

C#
public HlsaColorViewModel Hlsa { get; set; }
Property Value:

The color.

Gets or sets the Hue, Saturation, Value (HSV) color view model.

C#
public HsvaColorViewModel Hsva { get; set; }
Property Value:

The color.

Gets or sets the Red, Green, Blue (RGB) color view model.

C#
public RgbaColorViewModel Rgba { get; set; }
Property Value:

The color.

Gets or sets the selected color view model.

C#
public ColorViewModel SelectedColorViewModel { get; set; }
Property Value:

The selected color view model.

Methods

Releases unmanaged and - optionally - managed resources.

C#
protected override void Dispose(bool disposing)
Parameters:disposingbool

True to release both managed and unmanaged resources; False to release only unmanaged resources.

Overrides: ViewModelBase.Dispose(bool)