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






Gets or sets the foreground color of the control.

Syntax

Visual Basic (Declaration) 
<ISNet.Serialization.BinarySerializableAttribute()>
<ISNet.Serialization.XmlSerializableAttribute(XmlSerializationType.Layout)>
<DefaultValueAttribute()>
<NotifyParentPropertyAttribute(True)>
<CategoryAttribute("Appearance")>
Public Overridable Property ForeColor As Color
Visual Basic (Usage)Copy Code
Dim instance As WebGridFormatStyle
Dim value As Color
 
instance.ForeColor = value
 
value = instance.ForeColor
C# 
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute(XmlSerializationType.Layout)]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[CategoryAttribute("Appearance")]
public virtual Color ForeColor {get; set;}
Delphi 
public read-write property ForeColor: Color; virtual; 
JScript 
ISNet.Serialization.BinarySerializableAttribute()
ISNet.Serialization.XmlSerializableAttribute(XmlSerializationType.Layout)
DefaultValueAttribute()
NotifyParentPropertyAttribute()
CategoryAttribute("Appearance")
public function get,set ForeColor : Color
Managed Extensions for C++ 
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute(XmlSerializationType.Layout)]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[CategoryAttribute("Appearance")]
public: __property virtual Color get_ForeColor();
public: __property virtual void set_ForeColor( 
   Color value
);
C++/CLI 
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute(XmlSerializationType.Layout)]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[CategoryAttribute("Appearance")]
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.