asp.net.ph

Calendar.OtherMonthDayStyle Property

System.Web.UI.WebControls Namespace   Calendar Class


Returns the style properties for the days from the months preceding and following the current month.

[ VB ]
Public ReadOnly Property OtherMonthDayStyle As TableItemStyle

[ C# ]
public TableItemStyle OtherMonthDayStyle {get;}

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

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

Property Value

A TableItemStyle that contains the style properties for the days from the months preceding and following the currently displayed month. The default value is an empty TableItemStyle.

Remarks

If OtherMonthDayStyle is not set, DayStyle is used.

Example

The following example demonstrates how to set the OtherMonthDayStyle property to a gray foreColor.

<asp:Calendar id = "myCalendar" runat = "server"
   OtherMonthDayStyle-ForeColor = "gray" />
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