BuilderFactoryExtensions.BootstrapSpinEdit(BuilderFactory, String) Method

Creates a Spin Edit control with a specified name.

Namespace: DevExpress.AspNetCore

Assembly: DevExpress.AspNetCore.Bootstrap.v18.1.dll

Syntax

public static BootstrapSpinEditBuilder BootstrapSpinEdit(this BuilderFactory builderFactory, string name)

Parameters

Type Name Description
BuilderFactory builderFactory

A BuilderFactory object providing access to Spin Edit settings.

String name

A control name.

Returns

Type Description
BootstrapSpinEditBuilder

A builder for a Spin Edit control.


The code sample below demonstrates how you can use this method to create a Spin Edit control.

@(Html.DevExpress()
    .BootstrapSpinEdit("spinEditDefault")
    .Value(1)
)