StyleSheet.ForeColor Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the specified foreground color for the style. Typically, this property sets the color for the text. The default value is Empty. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
virtual property System::Drawing::Color ForeColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };
[System.ComponentModel.Bindable(false)]
[System.ComponentModel.Browsable(false)]
public override System.Drawing.Color ForeColor { get; set; }
[<System.ComponentModel.Bindable(false)>]
[<System.ComponentModel.Browsable(false)>]
member this.ForeColor : System.Drawing.Color with get, set
Public Overrides Property ForeColor As Color
Property Value
The foreground Color of the control.
- Attributes
Exceptions
Remarks
You can use the ForeColor property to display text in a different color. For more information, see MobileControl.ForeColor.