Skip to main content

BootstrapDateEditPropertiesBuilder Methods

Contains settings specific to a date editor.
Name Description
AllowMouseWheel(Boolean) Sets a value that specifies whether an end-user is able to change the editor’s value using the mouse wheel.
AllowNull(Boolean) Sets a value that specifies whether the date editor allows null values to be entered.
AllowUserInput(Boolean) Sets a value that specifies whether end-users are allowed to input values into an editor’s edit box.
Buttons(Action<BootstrapEditButtonCollectionBuilder>) The collection of editor buttons.
ButtonTemplate(TemplateContent) Sets a common template used for rendering the editor’s buttons.
ButtonTemplate(TemplateContentCallback<BootstrapButtonTemplateContainerSettings>) Sets a common template used for rendering the editor’s buttons.
CalendarProperties(Action<BootstrapDateEditCalendarPropertiesBuilder>) The settings of the editor’s dropdown calendar.
ClearButton(Action<BootstrapClearButtonBuilder>) The settings of the editor’s Clear button.
ClientSideEvents(Action<DateEditClientSideEventsBuilder>) Object that lists the client-side events specific to the DateEdit.
ConvertEmptyStringToNull(Boolean) Sets a value that specifies whether empty string values are converted to a null reference when an inplace editor’s value is retrieved from a data source field.
DateOnError(DateOnError) Sets a value that specifies how the date editor responds to an invalid date being entered by an end user.
DateRangeSettings(Action<DateEditRangeSettingsBuilder>) Settings related to the date range functionality.
DisplayFormatInEditMode(Boolean) Sets a value specifying whether a format pattern defined via the EditPropertiesBase.DisplayFormatString property should be applied to the editor value displayed in the edit mode of a complex data control (e.g. GridView).
DisplayFormatString(String) Sets the pattern used to format the editor’s value for display purposes.
DropDownButton(Action<BootstrapDropDownButtonBuilder>) The settings of the editor’s drop down button.
EditFormat(EditFormat) Sets the edit format for a date editor’s value.
EditFormatString(String) Sets the pattern used to format the editor’s edited value displayed within the edit box, when the editor’s Edit Format (specified using the BootstrapDateEditPropertiesBuilder.EditFormat method) is set to EditFormat.Custom.
EnableClientSideAPI(Boolean) Sets a value that specifies whether the editor can be manipulated on the client side via code.
EncodeHtml(Boolean) Sets a value that specifies whether the editor’s value and element content is rendered as pure HTML, or HTML markers are stripped out.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
HelpText(String) Sets the current editor help text.
HelpTextSettings(Action<BootstrapTextEditHelpSettingsBuilder>) Provides access to an editor’s help text settings.
MaxDate(DateTime) Sets the maximum date allowed to be entered into the editor by an end-user.
MemberwiseClone() Creates a shallow copy of the current Object. Inherited from Object.
MinDate(DateTime) Sets the minimum date allowed to be entered into the editor by an end-user.
NullDisplayText(String) Sets the text displayed within the editor’s edit region when the editor’s value is null.
NullText(String) Sets the prompt text displayed within the editor’s input box when the editor is not focused and its value is null.
NullTextDisplayMode(NullTextDisplayMode) Sets a value indicating when the null text should be displayed in the editor.
ReferenceEquals(Object, Object) Determines whether the specified Object instances are the same instance. Inherited from Object.
SelectInputTextOnClick(Boolean)
ShowOutOfRangeWarning(Boolean) Sets a value that specifies whether a warning message is displayed when an end-user types a date that is out of the range specified using the BootstrapDateEditPropertiesBuilder.MinDate and BootstrapDateEditPropertiesBuilder.MaxDate methods.
TimeSectionProperties(Action<BootstrapDateEditTimeSectionPropertiesBuilder>) The settings of the editor’s drop-down window time section.
ToString() Returns a string that represents the current object. Inherited from Object.
UseMaskBehavior(Boolean) Sets a value that specifies whether the mask behavior is applied to the date editor input.
Width(Int32) Sets the editor’s width.
Width(String) Sets the editor’s width.
See Also