RibbonItemCollectionBuilder<TItemCollectionBuilder>.AddToggleButton(Boolean) Method
In This Article
Adds a new button item 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 RibbonButtonItemBuilder AddToggleButton(
bool selected = false
)
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
selected | Boolean | False | true to select the button; otherwise, false. |
#Returns
Type | Description |
---|---|
Ribbon |
The builder for the ribbon button item. |
See Also