Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    DxFormLayoutGroup.HeaderIconUrl Property

    Specifies the URL of the group header’s icon.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    #Declaration

    C#
    [DefaultValue(null)]
    [Parameter]
    public string HeaderIconUrl { get; set; }

    #Property Value

    Type Default Description
    String null

    The URL of the icon.

    #Remarks

    The following code snippet assigns icons to group headers:

    Razor
    <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>
    

    Groups with Icons

    Refer to Icons for more information.

    See Also