RibbonItemCollectionBuilder<TItemCollectionBuilder>.AddColorBox(String, String, Boolean, String) Method
In This Article
Adds a new color box item with the specified settings to the end of the ribbon item collection.
Namespace: DevExpress.AspNetCore.Office
Assembly: DevExpress.AspNetCore.Common.v24.2.dll
NuGet Package: DevExpress.AspNetCore.Common
#Declaration
C#
public TItemCollectionBuilder AddColorBox(
string text,
string name,
bool beginGroup,
string color
)
#Parameters
Name | Type | Description |
---|---|---|
text | String | The item’s text. |
name | String | The item’s command name. |
begin |
Boolean | true, to display a separator before the item; otherwise, false. |
color | String | The item’s color value. |
#Returns
Type | Description |
---|---|
TItem |
An object that can be used to further configure the item collection. |
See Also