BarItemCollection.AddCustomSpinEdit(Int32, Func<Decimal>, Func<Decimal, Task>) Method
In This Article
Adds a custom spin editor to the specified position in the bar item collection.
Namespace: DevExpress.Blazor.Office
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
#Declaration
C#
public IBarSpinEdit AddCustomSpinEdit(
int index,
Func<decimal> getValue,
Func<decimal, Task> valueChanged
)
#Parameters
Name | Type | Description |
---|---|---|
index | Int32 | The position where to insert the spin editor. |
get |
Func<Decimal> | A delegate method that returns the editor’s value. |
value |
Func<Decimal, Task> | A delegate method that specifies whether the editor value is changed. |
#Returns
Type | Description |
---|---|
IBar |
The inserted spin editor. |
#Remarks
Refer to the IBarSpinEdit interface description for more information and an example.
See Also