Intersoft WebGrid Documentation
ForeColor Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGrid Class : ForeColor Property






Gets or sets the foreground color (typically the color of the text) of the WebGrid control

Syntax

Visual Basic (Declaration) 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<NotifyParentPropertyAttribute(True)>
<CategoryAttribute("Appearance")>
Public Overrides Property ForeColor As Color
Visual Basic (Usage)Copy Code
Dim instance As WebGrid
Dim value As Color
 
instance.ForeColor = value
 
value = instance.ForeColor
C# 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[NotifyParentPropertyAttribute(true)]
[CategoryAttribute("Appearance")]
public override Color ForeColor {get; set;}
Delphi 
public read-write property ForeColor: Color; override; 
JScript 
DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)
NotifyParentPropertyAttribute()
CategoryAttribute("Appearance")
public override function get,set ForeColor : Color
Managed Extensions for C++ 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[NotifyParentPropertyAttribute(true)]
[CategoryAttribute("Appearance")]
public: __property Color get_ForeColor() override;
public: __property void set_ForeColor( 
   Color value
) override;
C++/CLI 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[NotifyParentPropertyAttribute(true)]
[CategoryAttribute("Appearance")]
public:
property Color ForeColor {
   Color get() override;
   void set (    Color value) override;
}

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.