BuilderFactoryExtensions.BootstrapSpinEdit(BuilderFactory, String) Method

Creates a Spin Edit control with a specified name.

Namespace: DevExpress.AspNetCore

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

Declaration

public static BootstrapSpinEditBuilder BootstrapSpinEdit(
    this BuilderFactory builderFactory,
    string name
)
<ExtensionAttribute>
Public Shared Function BootstrapSpinEdit(
    builderFactory As BuilderFactory,
    name As String
) As BootstrapSpinEditBuilder

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)
)

See Also