ClassUnifiedColorViewModel
Represents a unified view of all color schemas (RGB, HLS, HSV, CMYK and HEX).
Definition
Namespace:Telerik.Windows.Controls.ColorEditor
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
public class UnifiedColorViewModel : ViewModelBase, INotifyPropertyChanged, IDisposable
Inheritance: objectViewModelBaseUnifiedColorViewModel
Implements:
Inherited Members
Constructors
UnifiedColorViewModel(RadColorEditor)
Initializes a new instance of the UnifiedColorViewModel class.
Declaration
public UnifiedColorViewModel(RadColorEditor colorEditor)
Parameters
colorEditor
The color editor.
Properties
Cmyka
Gets or sets the Cyan, Magenta, Yellow, Key/Black (CMYK) color view model.
Declaration
public CmykaColorViewModel Cmyka { get; set; }
Property Value
The color.
Hex
Gets or sets the HEX color view model.
Declaration
public HexColorViewModel Hex { get; set; }
Property Value
The hex.
Hlsa
Gets or sets the Hue, Luminance, Saturation (HLS) color view model.
Declaration
public HlsaColorViewModel Hlsa { get; set; }
Property Value
The color.
Hsva
Gets or sets the Hue, Saturation, Value (HSV) color view model.
Declaration
public HsvaColorViewModel Hsva { get; set; }
Property Value
The color.
Rgba
Gets or sets the Red, Green, Blue (RGB) color view model.
Declaration
public RgbaColorViewModel Rgba { get; set; }
Property Value
The color.
SelectedColorViewModel
Gets or sets the selected color view model.
Declaration
public ColorViewModel SelectedColorViewModel { get; set; }
Property Value
The selected color view model.
Methods
Dispose(bool)
Releases unmanaged and - optionally - managed resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
disposing
True to release both managed and unmanaged resources;
False to release only unmanaged resources.
Overrides