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

DxComponentBase.Id Property

Specifies the component’s unique identifier.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v21.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public virtual string Id { get; set; }

Property Value

Type Description
String

The component identifier.

Remarks

Use the Id property to specify the id attribute of a component in its rendered HTML markup:

<DxPopup @bind-Visible="@PopupVisible"
         Id="popup-msg" 
         HeaderText="Header"></DxPopup>

Component id

See Also