System.Web.UI.WebControls Namespace Calendar Class
Returns the style properties for the displaying weekend dates. This property is read-only.
[ VB ]
Public ReadOnly Property WeekendDayStyle As TableItemStyle
[ C# ]
public TableItemStyle WeekendDayStyle {get;}
[ C++ ]
public: __property TableItemStyle* get_WeekendDayStyle ( );
[ JScript ]
public function get WeekendDayStyle ( ) : TableItemStyle;
A TableItemStyle that contains the style properties for displaying weekend dates. The default value is an empty TableItemStyle.
The following example demonstrates how to set the WeekendDayStyle property to a gray backColor.
<asp:Calendar id = "myCalendar" runat = "server"
WeekendDayStyle-BackColor = "gray" />
Calendar Members