System.Web.UI.WebControls Namespace Calendar Class
Returns the style properties for the next/previous month navigators. This property is read-only.
[ VB ]
Public ReadOnly Property NextPrevStyle As TableItemStyle
[ C# ]
public TableItemStyle NextPrevStyle {get;}
[ C++ ]
public: __property TableItemStyle* get_NextPrevStyle ( );
[ JScript ]
public function get NextPrevStyle ( ) : TableItemStyle;
The style properties for the next/previous month navigators. The default value is an empty TableItemStyle.
The following example demonstrates how to set the NextPrevStyle property to a red foreColor.
<asp:Calendar id = "myCalendar" runat = "server"
NextPrevStyle-ForeColor = "#ff0000" />
Calendar Members