Back to Devexpress

DxDropDown.FooterText Property

blazor-devexpress-dot-blazor-dot-dxdropdown-209138ff.md

latest1.8 KB
Original Source

DxDropDown.FooterText Property

Specifies the 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

Set the FooterVisible property to true to show the footer in the drop-down window. Use the FooterText property to specify the footer’s text.

razor
<DxButton Id="showDDbtton" Click="() => IsOpen = true">Show a drop-down window</DxButton>
<DxDropDown HeaderVisible="true"
    HeaderText="Header"
    FooterVisible="true"
    FooterCssClass="footer-style"
    FooterText="Footer"
    Width="max(25vw, 300px)"
    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."
    @bind-IsOpen="@IsOpen"
    PositionTarget="#showDDbtton"
    PositionMode="DropDownPositionMode.Bottom">
</DxDropDown>

@code {
    bool IsOpen { get; set; } = false;
}
css
.footer-style {
    font-weight: bold;
}

See Also

DxDropDown Class

DxDropDown Members

DevExpress.Blazor Namespace