Calendar::ShowGridLines Property

 

Gets or sets a value indicating whether the days on the Calendar control are separated with gridlines.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
property bool ShowGridLines {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if the days on the Calendar control are separated with gridlines; otherwise, false. The default value is false.

Use the ShowGridLines property to specify whether the days on the Calendar control are separated with gridlines.

The following code example demonstrates how to use the ShowGridLines property to display the gridlines between days in the Calendar control.

No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: