Skip to main content

BarItemCollection.AddCustomSpinEdit(Func<Decimal>, Func<Decimal, Task>) Method

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

Namespace: DevExpress.Blazor.Office

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public IBarSpinEdit AddCustomSpinEdit(
    Func<decimal> getValue,
    Func<decimal, Task> valueChanged
)

Parameters

Name Type Description
getValue Func<Decimal>

A delegate method that returns the editor’s value.

valueChanged Func<Decimal, Task>

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

Returns

Type Description
IBarSpinEdit

The inserted spin editor.

Remarks

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

See Also