Back to Devexpress

DxFlyout.HeaderVisible Property

blazor-devexpress-dot-blazor-dot-dxflyout-acde49b4.md

latest1.6 KB
Original Source

DxFlyout.HeaderVisible Property

Specifies the visibility of the header.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDescription
Boolean

true to display the header; otherwise, false.

|

Remarks

Set the HeaderVisible option to true to show the flyout window’s header.

razor
<DxButton Id="targetButton" Click="() => IsOpen = !IsOpen">Show a flyout window</DxButton>
<DxFlyout @bind-IsOpen=IsOpen PositionTarget="#targetButton" Width=400
    BodyText="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
            incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
            exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
    HeaderVisible="true" HeaderText="Header" HeaderCssClass="header-footer-style"
    FooterVisible="true" FooterText="Footer" FooterCssClass="header-footer-style">
</DxFlyout>

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

See Also

DxFlyout Class

DxFlyout Members

DevExpress.Blazor Namespace