Back to Devexpress

DxDropDown.FooterVisible Property

blazor-devexpress-dot-blazor-dot-dxdropdown-91e53c78.md

latest1.7 KB
Original Source

DxDropDown.FooterVisible Property

Specifies the window footer visibility.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[Parameter]
public bool FooterVisible { get; set; }

Property Value

TypeDescription
Boolean

true to display the footer; otherwise, false.

|

Remarks

Set the FooterVisible option to true to show the drop-down window’s footer.

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