Back to Devexpress

DxComponent.Id Property

blazor-devexpress-dot-blazor-dot-base-dot-dxcomponent-6d9e9ed1.md

latest1.1 KB
Original Source

DxComponent.Id Property

Specifies the component’s unique identifier.

Namespace : DevExpress.Blazor.Base

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDescription
String

The component identifier.

|

Remarks

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

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

See Also

DxComponent Class

DxComponent Members

DevExpress.Blazor.Base Namespace