Color.G property

Applies to Windows and Windows Phone

Gets or sets the sRGB green channel value of the color.

Syntax


public byte G { get; set; }

Property value

Type: System.Byte

The sRGB green channel value, as a value between 0 and 255.

Remarks

You can set this value in XAML, but only as part of the attribute syntax for properties that take a Color, or as initialization text of a Color object element. See XAML sections and Remarks sections of Color.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI

Assembly

System.Runtime.WindowsRuntime.dll

See also

Color

 

 

Show:
© 2014 Microsoft