Skip to main content
A newer version of this page is available. .

DxAccordion.Target Property

Specifies the target attribute’s value for all items.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public string Target { get; set; }

Property Value

Type Description
String

The “target” attribute’s value.

Remarks

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

The DxAccordion.Target property specifies the common target attribute’s value for all items in the Accordion. To override the attribute value for a specific item, use the DxAccordionItem.Target property.

In the example below, all NavigateUrl links are opened in a new tab:

<DxAccordion Target="_blank">
    <Items>
        <DxAccordionItem Text="Grid" NavigateUrl="https://demos.devexpress.com/blazor/Grid" />
        <DxAccordionItem Text="Navigation and Layout" />
        <DxAccordionItem Text="Data Editors" />
        <DxAccordionItem Text="Scheduler" />
    </Items>
</DxAccordion>
See Also