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






Syntax

Visual Basic (Declaration) 
<TypeConverterAttribute("System.Web.UI.WebControls.WebColorConverter, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
<DefaultValueAttribute()>
<WebCategoryAttribute("Appearance")>
<WebSysDescriptionAttribute("Color of the text within the control.")>
Public Overridable Property ForeColor As Color
Visual Basic (Usage)Copy Code
Dim instance As WebGridCellTemplateContainer
Dim value As Color
 
instance.ForeColor = value
 
value = instance.ForeColor
C# 
[TypeConverterAttribute("System.Web.UI.WebControls.WebColorConverter, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[DefaultValueAttribute()]
[WebCategoryAttribute("Appearance")]
[WebSysDescriptionAttribute("Color of the text within the control.")]
public virtual Color ForeColor {get; set;}
Delphi 
public read-write property ForeColor: Color; virtual; 
JScript 
TypeConverterAttribute("System.Web.UI.WebControls.WebColorConverter, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
DefaultValueAttribute()
WebCategoryAttribute("Appearance")
WebSysDescriptionAttribute("Color of the text within the control.")
public function get,set ForeColor : Color
Managed Extensions for C++ 
[TypeConverterAttribute("System.Web.UI.WebControls.WebColorConverter, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[DefaultValueAttribute()]
[WebCategoryAttribute("Appearance")]
[WebSysDescriptionAttribute("Color of the text within the control.")]
public: __property virtual Color get_ForeColor();
public: __property virtual void set_ForeColor( 
   Color value
);
C++/CLI 
[TypeConverterAttribute("System.Web.UI.WebControls.WebColorConverter, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[DefaultValueAttribute()]
[WebCategoryAttribute("Appearance")]
[WebSysDescriptionAttribute("Color of the text within the control.")]
public:
virtual property Color ForeColor {
   Color get();
   void set (    Color value);
}

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.