blazor-devexpress-dot-blazor-dot-dxformlayoutgroup-72b4f399.md
Specifies the URL of the group header’s icon.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[DefaultValue(null)]
[Parameter]
public string HeaderIconUrl { get; set; }
| Type | Default | Description |
|---|---|---|
| String | null |
The URL of the icon.
|
The following code snippet assigns icons to group headers:
<DxFormLayout>
<DxFormLayoutGroup Caption="Personal Information" ColSpanMd="6" HeaderIconUrl="/images/book.svg">
<DxFormLayoutItem Caption="First Name:" ColSpanMd="12">
<DxTextBox @bind-Text="@FirstName" />
</DxFormLayoutItem>
<DxFormLayoutItem Caption="Last Name:" ColSpanMd="12">
<DxTextBox @bind-Text="@LastName" />
</DxFormLayoutItem>
</DxFormLayoutGroup>
<DxFormLayoutGroup Caption="Personal Information" ColSpanMd="6" HeaderIconUrl="/images/info.svg">
<DxFormLayoutItem Caption="Position:" ColSpanMd="12">
<DxTextBox @bind-Text="@Position" />
</DxFormLayoutItem>
<DxFormLayoutItem Caption="Notes:" ColSpanMd="12">
<DxTextBox @bind-Text="@Notes" />
</DxFormLayoutItem>
</DxFormLayoutGroup>
</DxFormLayout>
Refer to Icons for additional information.
See Also