DxToolbarItemBase.BeginGroup Property

Specifies whether the item is the start of a new item group.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.dll

Declaration

[Parameter]
[DefaultValue(false)]
public bool BeginGroup { get; set; }

Property Value

Type Default Description
Boolean

false

true if an item is the start of a new item group; otherwise, false.

Remarks

You can divide Toolbar items into groups. Item groups are separated by a space.

NOTE

The Toolbar aligns grouped items according to the group first item's Alignment property value. Alignment property values of all other items in the group are not taken into account.

<DxToolbar>
    <DxToolbarItem Text="Item" />
    <DxToolbarItem Text="Link to the next demo" 
                   NavigateUrl="https://demos.devexpress.com/blazor/Toolbar#DropDownItems" />
    <DxToolbarItem BeginGroup="true" IconCssClass="oi oi-align-left" />
    <DxToolbarItem IconCssClass="oi oi-align-center" />
    <DxToolbarItem IconCssClass="oi oi-align-right" />
    <DxToolbarItem IconCssClass="oi oi-cog" 
                   Alignment="ToolbarItemAlignment.Right" 
                   BeginGroup="true" />
    <DxToolbarItem Text="About" IconCssClass="oi oi-info" />
</DxToolbar>

Toolbar Overview

NOTE

Online Demo: Toolbar - Overview

See Also