RibbonItemCollectionBuilder<TItemCollectionBuilder>.AddToggleButton(Boolean) Method
Adds a new button item to the end of the ribbon item collection.
Namespace: DevExpress.AspNetCore.Office
Assembly: DevExpress.AspNetCore.Common.v24.2.dll
Declaration
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 |
---|---|
RibbonButtonItemBuilder | The builder for the ribbon button item. |
See Also