Back to Devexpress

DxRibbonItem.SplitDropDownButton Property

blazor-devexpress-dot-blazor-dot-dxribbonitem.md

latest1.8 KB
Original Source

DxRibbonItem.SplitDropDownButton Property

Specifies whether the drop-down button item should be split into two buttons.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

true to split a drop-down item into two buttons; otherwise, false.

|

Remarks

A ribbon item containing other items displays a drop-down arrow. When a user clicks the item, the ribbon displays a drop-down window and fires the Click event.

Set the SplitDropDownButton property to true to split the item into two areas: the main action button and the drop-down arrow.

  • When a user clicks the main action button, the ribbon fires the Click event.
  • When a user clicks the drop-down button, the ribbon displays drop-down window.
razor
...
<DxRibbonItem Text="Paste"
              IconCssClass="rb-icon rb-icon-paste"
              SplitDropDownButton="true" >
    <DxRibbonItem Text="Copy" />
    <DxRibbonItem Text="Cut" />
</DxRibbonItem>
...

Implements

SplitDropDownButton

See Also

DxRibbonItem Class

DxRibbonItem Members

DevExpress.Blazor Namespace