All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.

RibbonItemCollectionBuilder<TItemCollectionBuilder>.AddNumberBox(String, String, Boolean, Int32, Int32, Int32, Int32, String, Int32) Method

Adds a new number box item to the end of the ribbon item collection.

Namespace: DevExpress.AspNetCore.Office

Assembly: DevExpress.AspNetCore.Common.v20.2.dll

Declaration

public TItemCollectionBuilder AddNumberBox(
    string text,
    string name,
    bool beginGroup,
    int min,
    int max,
    int step,
    int width,
    string format = null,
    int value = 0
)

Parameters

Name Type Description
text String

The item's text.

name String

The item's command name.

beginGroup Boolean

true, to display a separator before the item; otherwise, false.

min Int32

The minimum item value.

max Int32

The maximum item value.

step Int32

The incremental step.

width Int32

The item width.

Optional Parameters

Name Type Default Description
format String

null

The value's display format.

value Int32

0

The item value.

Returns

Type Description
TItemCollectionBuilder

An item collection builder.

See Also