Skip to main content
All docs
V25.2
  • DxRibbonItem.Target Property

    Specifies where to display the URL linked to a Ribbon item.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.2.dll

    NuGet Package: DevExpress.Blazor

    Declaration

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

    Property Value

    Type Default Description
    String null

    A link target.

    Remarks

    Use the NavigateUrl property to specify a URL where the web browser navigates when a user clicks the Ribbon item. To specify where the browser should open the URL (in the current window, new tab, and so on), use the Target property.

    Refer to the MDN documentation for available property values: target. If you do not specify the Target property value explicitly, the component applies the _self value.

    The following code snippet opens the Ribbon item’s NavigateUrl in a new tab:

    <DxRibbon>
        <DxRibbonTab Text="Home">
            <DxRibbonGroup>
                <DxRibbonItem Text="DevExpress"
                              NavigateUrl="https://www.devexpress.com/"
                              Target="_blank" />
            </DxRibbonGroup>
        </DxRibbonTab>
    </DxRibbon>
    

    Implements

    See Also