DateInputSetting
The class holding the settings for the RadDateInput control which are used to determine the date input behavior.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class DateInputSetting : InputSetting, IStateManager, IRadDateInput
Inheritance: objectInputSettingDateInputSetting
Derived Classes:
Implements:
Inherited Members
Constructors
public DateInputSetting()
Properties
Gets or sets the culture used by RadDateSetting to format the date.
public CultureInfo Culture { get; set; }
A CultureInfo object that represents the current culture used. The default value is System.Threading.Thread.CurrentThread.CurrentUICulture.
Implements:
Gets or sets the date and time format used by RadDateSetting.
public virtual string DateFormat { get; set; }
A string specifying the date format used by RadDateSetting. The default value is "d" (short date format).
Implements:
Gets or sets the display date format used by RadDateSetting.(Visible when the control is not on focus.)
public virtual string DisplayDateFormat { get; set; }
A string specifying the display date format used by RadDateSetting. The default value is "d" (short date format). If the DisplayDateFormat is left blank, the DateFormat will be used both for editing and display.
Gets or sets the largest date value allowed by RadDateSetting.
public DateTime MaxDate { get; set; }
A DateTime object that represents the largest date value allowed by RadDateSetting. The default value is 12/31/2099.
Gets or sets the smallest date value allowed by RadDateSetting.
public DateTime MinDate { get; set; }
A DateTime object that represents the smallest date value by RadDateSetting. The default value is 1/1/1980.
Gets or sets a value that indicates the end of the century that is used to interpret the year value when a short year (single-digit or two-digit year) is entered in the input.
public int ShortYearCenturyEnd { get; set; }
The year when the century ends. Default is 2029.
Implements: