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






Specifies the line styles that can be applied into grid line.

Syntax

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

Example

The sample code below will show you on how to set the grid line style to Dotted:

[C#] 

WebGrid1.RootTable.ColumnSetSettings.GridLineStyle = BorderStyle.Dotted;

Remarks

This property specifies the appearance of grid line's style, such as solid, dotted, double, 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.