blazor-devexpress-dot-blazor-dot-dxpopupbase-b132360b.md
Specifies text displayed in the Popup footer.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[Parameter]
public string FooterText { get; set; }
| Type | Description |
|---|---|
| String |
The footer’s text.
|
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;
}
You can also use the following properties to customize the footer’s content and appearance:
FooterText and FooterCssClass properties.FooterText, FooterCssClass, and FooterContentTemplate properties.For additional information about Popup customization, refer to the following help topic: Content and Appearance.
See Also