asp.net.ph

Calendar.ShowGridLines Property

System.Web.UI.WebControls Namespace   Calendar Class


Returns or set a value indicating whether days on the calendar are displayed with a border.

[ VB ]
Public Property ShowGridLines As Boolean

[ C# ]
public bool ShowGridLines {get; set;}

[ C++ ]
public: __property bool get_ShowGridLines ( );
public: __property void set_ShowGridLines ( bool );

[ JScript ]
public function get ShowGridLines ( ) : Boolean;
public function set ShowGridLines ( Boolean );

Property Value

This property accepts or returns only a boolean value: true if the days on the calendar are displayed with a border; otherwise false. The default value is false.

Remarks

Not all browsers support gridlines.

Example

The following example demonstrates how to set the ShowGridLines property to display the grid lines between days in the Calendar.

<asp:Calendar id = "myCalendar" runat = "server"
   ShowGridLines = "True" />
See Also

Calendar Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph