Skip to main content
All docs
V25.1
  • RibbonSelectBoxItemBuilder.AcceptCustomValue(Boolean) Method

    Specifies whether the item accepts custom values.

    Namespace: DevExpress.AspNetCore.Office

    Assembly: DevExpress.AspNetCore.Common.v25.1.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