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






Specifies the color to the grid line in ColumnSet.

Syntax

Visual Basic (Declaration) 
<ISNet.Serialization.BinarySerializableAttribute()>
<NotifyParentPropertyAttribute(True)>
<DefaultValueAttribute()>
<DescriptionAttribute()>
Public Property GridLineColor As Color
Visual Basic (Usage)Copy Code
Dim instance As ColumnSetSettings
Dim value As Color
 
instance.GridLineColor = value
 
value = instance.GridLineColor
C# 
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[DescriptionAttribute()]
public Color GridLineColor {get; set;}
Delphi 
public read-write property GridLineColor: Color; 
JScript 
ISNet.Serialization.BinarySerializableAttribute()
NotifyParentPropertyAttribute()
DefaultValueAttribute()
DescriptionAttribute()
public function get,set GridLineColor : Color
Managed Extensions for C++ 
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[DescriptionAttribute()]
public: __property Color get_GridLineColor();
public: __property void set_GridLineColor( 
   Color value
);
C++/CLI 
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[DescriptionAttribute()]
public:
property Color GridLineColor {
   Color get();
   void set (    Color value);
}

Example

The sample code below will show you on how to set the grid line color to Indian Red:

[C#] 

WebGrid1.RootTable.ColumnSetSettings.GridLineColor = Color.IndianRed;

Remarks

This property specifies grid line's color, such as red, blue, gray, etc.

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.