Skip to main content

RibbonSelectBoxItemBuilder.AcceptCustomValue(Boolean) Method

Specifies whether the item accepts custom values.

Namespace: DevExpress.AspNetCore.Office

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

NuGet Package: DevExpress.AspNetCore.Common

Declaration

public RibbonSelectBoxItemBuilder AcceptCustomValue(
    bool value
)

Parameters

Name Type Description
value Boolean

true to accept custom values; otherwise, false.

Returns

Type Description
RibbonSelectBoxItemBuilder

The select box item builder.

Remarks

Set the acceptCustomValue property to true to allow a user to add new values to the select box. Note that in this case, you should implement the OnCustomItemCreating(String) handler to create a new data source entry.

See Also