Skip to main content

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.v23.2.dll

NuGet Package: DevExpress.AspNetCore.Common


public RibbonButtonItemBuilder AddToggleButton(
    bool selected = false

Optional Parameters

Name Type Default Description
selected Boolean False

true to select the button; otherwise, false.


Type Description

The builder for the ribbon button item.

See Also