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

Represents a ViewModel of the RGB (Red, Green, Blue) representation of a color.

Definition

Constructors

C#
public RgbaColorViewModel()

Properties

Gets or sets the Blue channel of the RGB color view model.

C#
public double Blue { get; set; }

Gets or sets the Green channel of the RGB color view model.

C#
public double Green { get; set; }

Gets or sets the Red channel of the RGB color view model.

C#
public double Red { get; set; }

Methods

Updates the color of from a unified color.

C#
public override void UpdateFromUnifiedColor(UnifiedColor colorScheme)
Parameters:colorSchemeUnifiedColor

Overrides: ColorViewModel.UpdateFromUnifiedColor(UnifiedColor)