Skip to main content

DxComponentBase.Id Property

Specifies the component’s unique identifier.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v22.1.dll

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