Skip to main content
.NET Framework Class Library
BrushesRed Property

Gets the solid fill color that has a hexadecimal value of #FFFF0000.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
Syntax
Public Shared ReadOnly Property Red As [%$TOPIC/ms611547_en-us_VS_110_1_0_0_0_0%]
public static [%$TOPIC/ms611547_en-us_VS_110_1_0_1_0_0%] Red { get; }
public:
static property [%$TOPIC/ms611547_en-us_VS_110_1_0_2_0_0%]^ Red {
	[%$TOPIC/ms611547_en-us_VS_110_1_0_2_0_1%]^ get ();
}
static member Red : [%$TOPIC/ms611547_en-us_VS_110_1_0_3_0_0%] with get
static function get Red () : [%$TOPIC/ms611547_en-us_VS_110_1_0_4_0_0%]
<object property="Red"/>

Property Value

Type: System.Windows.MediaSolidColorBrush
A solid fill color.
Remarks

See Brushes for usage information, including examples, and for a table that shows the colors defined by the Brushes class.

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