aspxtreme

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



Books and more ...


Suggested Reading

Need a break ?



Previous page Back to top Next page

Check out related books at Amazon

© 2000-2008 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 aspxtreme