blazor-devexpress-dot-blazor-dot-dxpopupbase-6f857dc3.md
Specifies whether the Popup displays the footer.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[Parameter]
public bool ShowFooter { get; set; }
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true to display the footer; otherwise, false.
|
The Popup consists of the body and the header with the Close button. Enable the ShowFooter option to display the Popup footer.
You can use the following properties to specify the footer’s content and appearance:
FooterText property.FooterText and FooterContentTemplate properties.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">
<FooterContentTemplate>
<DxButton RenderStyle="ButtonRenderStyle.Primary" Text="OK"
Click="@context.CloseCallback" />
</FooterContentTemplate>
</DxPopup>
@code {
bool PopupVisible { get; set; } = false;
}
Run Demo: Popup - Customization
For additional information about Popup customization, refer to the following help topic: Content and Appearance.
See Also