RibbonSelectBoxItemBuilder.AcceptCustomValue(Boolean) Method
In This Article
Specifies whether the item accepts custom values.
Namespace: DevExpress.AspNetCore.Office
Assembly: DevExpress.AspNetCore.Common.v24.2.dll
NuGet Package: DevExpress.AspNetCore.Common
#Declaration
C#
public RibbonSelectBoxItemBuilder AcceptCustomValue(
bool value
)
#Parameters
Name | Type | Description |
---|---|---|
value | Boolean | true to accept custom values; otherwise, false. |
#Returns
Type | Description |
---|---|
Ribbon |
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