Back to Devexpress

DxWindow.FooterText Property

blazor-devexpress-dot-blazor-dot-dxwindow-d0f680fc.md

latest2.5 KB
Original Source

DxWindow.FooterText Property

Specifies text displayed in the Window footer.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDescription
String

The footer’s text.

|

Remarks

The Window consists of the body and the header. Enable the ShowFooter option to display the Window’s footer. Use the FooterText property to specify text displayed in the footer. Assign the CSS class name to the FooterCssClass property to customize the footer’s appearance.

razor
<DxButton RenderStyle="ButtonRenderStyle.Secondary" 
          Click="() => WindowVisible = !WindowVisible">SHOW A WINDOW</DxButton>
<DxWindow @bind-Visible="@WindowVisible"
          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."
          Width="max(25vw, 250px)"
          ShowFooter="true"
          FooterText="Footer"
          FooterCssClass="footer-style">
</DxWindow>

@code {
    bool WindowVisible { get; set; } = false;
}
css
.footer-style {
    color: rgb(95,54,141) !important;
    font-weight: bold !important;
}

When you use the FooterContentTemplate or FooterTemplate, specified appearance settings have priority over appearance settings defined in the assigned CSS class.

For additional information on how to apply CSS classes to DevExpress Blazor components, refer to the following help topic: CSS Classes.

See Also

DxWindow Class

DxWindow Members

DevExpress.Blazor Namespace