Skip to main content

BarItemCollection.AddCustomComboBox(Func<Object>, Func<Object, Task>) Method

Adds a custom combobox editor to the end of the bar item collection.

Namespace: DevExpress.Blazor.Office

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public IBarComboBox AddCustomComboBox(
    Func<object> getValue,
    Func<object, Task> valueChanged
)

Parameters

Name Type Description
getValue Func<Object>

A delegate method that returns the editor’s value.

valueChanged Func<Object, Task>

A delegate method that specifies whether the editor value is changed.

Returns

Type Description
IBarComboBox

The combobox editor.

Remarks

Refer to the IBarComboBox interface description for more information and an example.

See Also