Skip to main content
.NET Framework Class Library
ColorScB Property

Gets or sets the ScRGB blue channel value of the color.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)
Public Property ScB As [%$TOPIC/ms612025_en-us_VS_110_1_0_0_0_0%]
public [%$TOPIC/ms612025_en-us_VS_110_1_0_1_0_0%] ScB { get; set; }
property [%$TOPIC/ms612025_en-us_VS_110_1_0_2_0_0%] ScB {
	[%$TOPIC/ms612025_en-us_VS_110_1_0_2_0_1%] get ();
	void set ([%$TOPIC/ms612025_en-us_VS_110_1_0_2_0_2%] value);
member ScB : [%$TOPIC/ms612025_en-us_VS_110_1_0_3_0_0%] with get, set
function get ScB () : [%$TOPIC/ms612025_en-us_VS_110_1_0_4_0_0%] 
function set ScB (value : [%$TOPIC/ms612025_en-us_VS_110_1_0_4_0_1%])
<object ScB="[%$TOPIC/ms612025_en-us_VS_110_1_0_5_0_0%]" .../>

Property Value

Type: SystemSingle
The ScRGB red channel value of the Color structure, a value between 0 and 1.

The sRGB channels ( A, R, G, B) and the ScRGB channels ( ScA, ScR, ScG, ScB) of the Color structure are synchronized properties. For example, when B, the sRGB blue channel, is modified, the ScRGB blue channel, ScB, is converted to the equivalent value using the 0-1 range that the Sc scheme supports.

Version Information

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1