Skip to main content

BootstrapSpinEditPropertiesBuilder Methods

Contains settings specific to a spin 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 spin 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.
ClearButton(Action<BootstrapClearButtonBuilder>) The settings of the editor’s Clear button.
ClientSideEvents(Action<SpinEditClientSideEventsBuilder>) Object that lists the client-side events specific to the SpinEdit.
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.
DecimalPlaces(Int32) Sets the number of decimal places to display for the numbers in the spin editor.
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 if the SpinEditProperties.NumberFormat property is set to SpinEditNumberFormat.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.
Increment(Decimal) Sets the value by which the spin editor’s value is changed when clicking a small increment/decrement spin button.
LargeIncrement(Decimal) Sets the amount by which the spin editor’s value is changed when clicking a large increment/decrement spin button.
MaxLength(Int32) Sets the maximum number of characters an end user can enter into the editor.
MaxValue(Decimal) Sets the maximum value of the editor.
MemberwiseClone() Creates a shallow copy of the current Object. Inherited from Object.
MinValue(Decimal) Sets the editor’s minimum value.
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.
NumberFormat(SpinEditNumberFormat) Sets the format of the spin editor’s displayed number.
NumberType(SpinEditNumberType) Sets a value that specifies whether a spin editor edits float or integer values.
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 number that is out of the range specified using the BootstrapSpinEditPropertiesBuilder.MinValue and BootstrapSpinEditPropertiesBuilder.MaxValue methods.
SpinButtons(Action<BootstrapSpinButtonsBuilder>) The settings of the editor’s spin buttons.
ToString() Returns a string that represents the current object. Inherited from Object.
ValueChangedDelay(Int32) Sets the time interval between the time when an end-user starts changing the editor’s value, and the client ASPxClientSpinEdit.NumberChanged and ASPxClientEdit.ValueChanged events are raised.
Width(Int32) Sets the editor’s width.
Width(String) Sets the editor’s width.
See Also