Skip to main content
All docs
V24.2

DxRibbonApplicationTab.Text Property

Specifies the application tab text.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

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

Property Value

Type Default Description
String null

The application tab text.

Remarks

Use the Text property to specify the text displayed in the application tab.

<DxDrawer @bind-IsOpen="IsFileMenuOpen" PanelWidth="100px" >
    <BodyTemplate>
        <DxMenu Orientation="Orientation.Vertical">
            <Items>
                <DxMenuItem Text="🢀" Click="@(() => IsFileMenuOpen = false)" />
                <DxMenuItem Text="New" Click="@(() => ClickNew())"/>
                <DxMenuItem Text="Open" Click="@(() => ClickOpen())"/>
                <DxMenuItem Text="Save as" Click="@(() => ClickSaveAs())"/>
                <DxMenuItem Text="Contacts" Click="@(() => ClickContacts())"/>
                <DxMenuItem Text="About" Click="@(() => ClickAbout())"/>
            </Items>
        </DxMenu>
    </BodyTemplate>
    <TargetContent>
        <DxRibbon >
            <DxRibbonApplicationTab Text="File" Click="@(() => IsFileMenuOpen = true)" />
            <DxRibbonTab Text="Home">...</DxRibbonTab>
            <DxRibbonTab Text="Insert">...</DxRibbonTab>
        </DxRibbon>
    </TargetContent>
</DxDrawer>

@code {
    bool IsFileMenuOpen { get; set; } = false;
}

Application tab

See Also