aspnetmvc-devexpress-dot-web-dot-mvc-b842fc60.md
Contains SpinEdit specific properties.
Namespace : DevExpress.Web.Mvc
Assembly : DevExpress.Web.Mvc5.v25.2.dll
NuGet Package : DevExpress.Web.Mvc5
public class MVCxSpinEditProperties :
SpinEditProperties
Public Class MVCxSpinEditProperties
Inherits SpinEditProperties
The following members return MVCxSpinEditProperties objects:
An object of the MVCxSpinEditProperties type can be accessed via the SpinEditSettings.Properties property.
Note
For a full example, see the GridView - Customization Dialog demo.
@Html.DevExpress().GridView(settings => {
settings.Name = "GridView";
settings.SettingsCustomizationDialog.Enabled = true;
...
settings.Columns.Add(c => {
c.FieldName = "UnitPrice";
c.SortIndex = 0;
c.SortOrder = DevExpress.Data.ColumnSortOrder.Ascending;
c.Width = 120;
c.EditorProperties().SpinEdit(sp => {
sp.DisplayFormatString = "c";
sp.MinValue = 0;
sp.MaxValue = 60000;
});
});
settings.Columns.Add(c => {
c.FieldName = "UnitsInStock";
c.Width = 140;
c.EditorProperties().SpinEdit(sp => {
sp.NumberType = SpinEditNumberType.Integer;
sp.MinValue = 0;
sp.MaxValue = 10000;
});
});
}).Bind(Model).GetHtml()
DevExpress.Web.Internal.IPropertiesDirtyTracker
DevExpress.Web.Internal.IWebControlObject
DevExpress.Web.Internal.ISkinOwner
DevExpress.Web.Design.IDesignTimePropertiesOwner
DevExpress.Web.Internal.IAssignEditorProperties
Show 11 items
Object StateManager PropertiesBase EditPropertiesBase EditProperties TextEditProperties TextBoxPropertiesBase ButtonEditPropertiesBase SpinEditPropertiesBase SpinEditProperties MVCxSpinEditProperties
See Also