Export (0) Print
Expand All

Color.R Property

Gets or sets the sRGB red component value of this Color structure.

Namespace: System.Windows.Media
Assembly: PresentationCore (in presentationcore.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public byte R { get; set; }
/** @property */
public byte get_R ()

/** @property */
public void set_R (byte value)

public function get R () : byte

public function set R (value : byte)

<object R="byte" .../>

Property Value

The sRGB red component value of this Color structure.

The sRGB components (A, R, G, B) and the ScRGB components (ScA, ScR, ScG, ScB) of the Color structure are synchronized properties. For example, when R, the sRGB red component, is modified the ScRGB red component, ScR, is transformed to the equivalent value.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft