Skip to main content
All docs
V25.2
  • IRibbonApplicationTabItem.Text Property

    Specifies the caption for the application tab’s item.

    Namespace: DevExpress.Blazor.Ribbon

    Assembly: DevExpress.Blazor.v25.2.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    [DefaultValue(null)]
    string Text { get; set; }

    Property Value

    Type Default Description
    String null

    The item text.

    Remarks

    Refer to the Text property description for more information.

    <DxRibbon>
        <DxRibbonApplicationTab Text="File">
            <DxRibbonApplicationTabItem Text="New"
                                        @ref="applicationTabItemRef" />
            <DxRibbonApplicationTabItem Text="Open" />
            <DxRibbonApplicationTabItem Text="Save" />
        </DxRibbonApplicationTab>
        <DxRibbonTab Text="Home">
            <DxRibbonGroup>
                <DxRibbonItem Text="Rename Item"
                              Click="RenameItem" />
            </DxRibbonGroup>
        </DxRibbonTab>
    </DxRibbon>
    
    @code {
        IRibbonApplicationTabItem applicationTabItemRef;
    
        void RenameItem(RibbonItemClickEventArgs e) {
            applicationTabItemRef.Text = "Create";
        }
    }
    
    See Also