www.gibmonks.com

Main Page

  Previous Section Next Section

NextPrevFormatserializable

System.Web.UI.WebControls (system.web.dll)enum

This enumeration is used to set the Calendar.NextPrevFormat property. It determines the appearance of the navigation controls that allow the user to move from month to month. ShortMonth will display an abbreviated month name on the previous and next month controls (like "Jan"), while FullMonth will display the full name of the month. If you use CustomText, you must set the corresponding Calendar.NextMonthText and Calendar.PrevMonthText programmatically (typically, in the Calendar.VisibleMonthChanged event handler).

public enum NextPrevFormat {
   CustomText = 0,
   ShortMonth = 1,
   FullMonth = 2
}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) NextPrevFormat

Returned By

Calendar.NextPrevFormat

Passed To

Calendar.NextPrevFormat

      Previous Section Next Section