Calendar.NextPrevFormat Property
.NET Framework 3.0
Gets or sets the format of the next and previous month navigation elements in the title section of the Calendar control.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public: property NextPrevFormat NextPrevFormat { NextPrevFormat get (); void set (NextPrevFormat value); }
/** @property */ public NextPrevFormat get_NextPrevFormat () /** @property */ public void set_NextPrevFormat (NextPrevFormat value)
public function get NextPrevFormat () : NextPrevFormat public function set NextPrevFormat (value : NextPrevFormat)
Not applicable.
Property Value
One of the NextPrevFormat values. The default value is CustomText.Use the NextPrevFormat property to specify the format for the next and previous month navigation elements on the Calendar control. This property is set with one of the NextPrevFormat enumeration values. You can specify whether the text for the navigation controls is displayed as the full month name, the short (abbreviated) month name, or custom text.
To specify custom navigation text, set this property to NextPrevFormat.CustomText and set the NextMonthText and PrevMonthText properties to the custom text.
This property applies only if the ShowNextPrevMonth property is set to true.
| Topic | Location |
|---|---|
| How to: Customize Calendar Web Server Control Appearance | Building ASP .NET Web Applications |
| How to: Customize Calendar Web Server Control Appearance | Building ASP .NET Web Applications |
Community Additions
ADD
Show: