Xceed Grid for WinForms v4.3 Documentation
ForeColor Property (WinTextBoxBase)


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinTextBoxBase Class : ForeColor Property
Gets or sets the foreground color of the textbox.
Syntax
'Declaration
 
Public Overrides Property ForeColor As Color
'Usage
 
Dim instance As WinTextBoxBase
Dim value As Color
 
instance.ForeColor = value
 
value = instance.ForeColor
public override Color ForeColor {get; set;}

Property Value

A System.Drawing.Color representing the foreground color of the texbox.
Remarks

The textbox and the TextBoxArea both use the same foregrouns color however changing the ForeColor property of the textbox will not invalidate its container.

It is recommended that the foreground color be set directly on the textbox and not the TextBoxArea.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WinTextBoxBase Class
WinTextBoxBase Members
Base Implementation in ForeColor