DxRibbonItem Class
In This Article
A ribbon item that displays a button or drop-down button.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
#Declaration
C#
public class DxRibbonItem :
DxRibbonButtonBase<RibbonItemRender, RibbonItemClickEventArgs>
#Remarks
The DxRibbonItem
class implements the functionality of an individual button item displayed in the DxRibbon component. When a user clicks the item, the Click event fires.
An item displays a drop-down arrow if it contains other ribbon items. You can set the SplitDropDownButton property to true
to divide the item into two areas: the main action button and the drop-down arrow button.
razor
...
<DxRibbonItem Text="Paste" IconCssClass="rb-icon rb-icon-paste" SplitDropDownButton="true" >
<DxRibbonItem Text="Copy" />
<DxRibbonItem Text="Cut" />
</DxRibbonItem>
...
#Inheritance
Object
ComponentBase
DxComponentBase
DxRibbonItemBase<DevExpress.Blazor.Navigation.Internal.RibbonItemRender>
DxRibbonElementBase<DevExpress.Blazor.Navigation.Internal.RibbonItemRender>
DxRibbonButtonBase<DevExpress.Blazor.Navigation.Internal.RibbonItemRender, DevExpress.Blazor.Navigation.Internal.RibbonItemClickEventArgs>
DxRibbonItem
See Also