DatePickerBase
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class DatePickerBase : WidgetBase, IScriptableComponent, IPicker, IInputComponent<DateTime>, IWidget, IHtmlAttributesContainer
Inheritance: objectWidgetBaseDatePickerBase
Derived Classes:
Implements:
Inherited Members
Constructors
public DatePickerBase(ViewContext viewContext, IJavaScriptInitializer initializer, ViewDataDictionary viewData)
Properties
Specifies the adaptive rendering of the component.
public AdaptiveMode? AdaptiveMode { get; set; }
Allows customization of the subtitle's text in the adaptive view of the component.
public string AdaptiveSubtitle { get; set; }
Allows customization of the title's text in the adaptive view of the component.
public string AdaptiveTitle { get; set; }
public PopupAnimation Animation { get; }
If this property is enabled and you have configured min and/or max values, and the user enters a value that falls out of that range, the value will automatically be set to either the minimum or maximum allowed value.
public bool? AutoAdjust { get; set; }
Sets a value that indicates whether to automatically correct the segment when out of range. In order to work, dateInput prop should be set to true.
public bool? AutoCorrectParts { get; set; }
Specifies the component type of the widget. "classic" - Uses the standard rendering of the widget. or "modern" - Uses new rendering with a fresh and modern look and feel..
public string ComponentType { get; set; }
public CultureInfo CultureInfo { get; }
Implements:
Sets a value controlling how the color is applied.
public FillMode? FillMode { get; set; }
Adds a label before the input. If the input has no id attribute, a generated id will be assigned. The string and the function parameters are setting the inner HTML of the label.
public LabelSettings Label { get; set; }
Allows localization of the strings that are used in the widget.
public DatePickerBaseMessagesSettings Messages { get; set; }
public List<string> ParseFormats { get; set; }
public PopupSettings PopupSettings { get; set; }
Sets the size of the component.
public ComponentSize? Size { get; set; }
Methods
public override IDictionary<string, object> Serialize()
Overrides: