asp.net.ph

Calendar.DayStyle Property

System.Web.UI.WebControls Namespace   Calendar Class


Returns the style properties for the days. This property is read-only.

[ VB ]
Public ReadOnly Property DayStyle As TableItemStyle

[ C# ]
public TableItemStyle DayStyle {get;}

[ C++ ]
public: __property TableItemStyle* get_DayStyle ( );

[ JScript ]
public function get DayStyle ( ) : TableItemStyle;

Property Value

A TableItemStyle tha contains the style properties for the days. The default value is an empty TableItemStyle.

Remarks

This is the default day style for the Calendar.

Example

The following example demonstrates how to set the DayStyle property to red.

<asp:Calendar id = "myCalendar" runat = "server"
   DayStyle-BackColor = "#ff0000" />
See Also

Calendar Members Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

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