System.Web.UI.WebControls Namespace Calendar Class
Returns the style properties for today's date on the Calendar. This property is read-only.
[ VB ]
Public ReadOnly Property TodayDayStyle As TableItemStyle
[ C# ]
public TableItemStyle TodayDayStyle {get;}
[ C++ ]
public: __property TableItemStyle* get_TodayDayStyle ( );
[ JScript ]
public function get TodayDayStyle ( ) : TableItemStyle;
A TableItemStyle that contains the style properties to display today's date. The default value is an empty TableItemStyle.
The following example demonstrates how to set the TodayDayStyle property to a blue foreColor.
<asp:Calendar id = "myCalendar" runat = "server"
TodayDayStyle-ForeColor = "blue" />
Calendar Members