BarItemCollection.AddCustomColorEdit(Func<Color>, Func<Color, Task>, Func<Task>) Method
In This Article
Adds a custom color editor to the end of the bar item collection.
Namespace: DevExpress.Blazor.Office
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
#Declaration
C#
#Parameters
Name | Type | Description |
---|---|---|
get |
Func<Color> | A delegate method that returns the current color value. |
value |
Func<Color, Task> | A delegate method that specifies whether a new color is selected in the editor. |
click | Func<Task> | A delegate method that handles the Click event. |
#Returns
Type | Description |
---|---|
IBar |
The inserted color editor. |
#Remarks
Refer to the IBarColorEdit interface description for more information and an example.
See Also