Skip to main content

DxPopupBase.FooterText Property

Specifies text displayed in the Popup footer.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public string FooterText { get; set; }

Property Value

Type Description
String

The footer’s text.

Remarks

The Popup consists of the body and the header with the Close button. Enable the ShowFooter option to display the Popup footer. Use the HeaderText, BodyText, and FooterText properties to specify text displayed in Popup elements. All predefined appearance settings apply to these elements.

Implement two-way binding for the Visible property to show the Popup in code and update the property value when a user closes the Popup.

<div @onclick="@(() => PopupVisible = true)">
    <p>CLICK TO SHOW A POP-UP WINDOW</p>
</div>

<DxPopup @bind-Visible="@PopupVisible"
         HeaderText="Header"
         BodyText="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sit amet metus vel
             nisi blandit tincidunt vel efficitur purus. Nunc nec turpis tempus, accumsan orci auctor,
             imperdiet mauris. Fusce id purus magna."
         ShowFooter="true"
         FooterText="Footer"/>

@code {
    bool PopupVisible { get; set; } = false;
}

Blazor Popup Footer

You can also use the following properties to customize the footer’s content and appearance:

  • FooterCssClass - Specifies the CSS class applied to the footer.
  • FooterContentTemplate - Allows you to customize the footer’s content area. This template takes priority over the FooterText and FooterCssClass properties.
  • FooterTemplate - Allows you to customize the entire footer. Predefined appearance settings do not apply. This template has the highest priority over the FooterText, FooterCssClass, and FooterContentTemplate properties.

For more information about Popup customization, refer to the following help topic: Content and Appearance.

See Also