Overview

Our Blazor Flyout component allows you to display a flyout window in your application. The window consists of the header, body, and footer elements. The header and footer are initially hidden. Set the HeaderVisible and FooterVisible properties to true to display these elements.

The HeaderText, BodyText, and FooterText properties specify text displayed in the Flyout elements.

To show or close the Flyout in code, implement two-way binding for the IsOpen property. Users can click outside the Flyout's boundaries, or press Escape to close the component from the UI.

Customization

Hover a person's photo to display the Flyout component.
Working Group
Janet Leverling

Sales Representative

Margaret Peacock

Sales Representative

Steven Buchanan

Sales Manager

Michael Suyama

Sales Representative

The Flyout component uses predefined appearance settings if you specify the HeaderText, BodyText, or FooterText property. You can apply custom CSS classes to Flyout elements (BodyCssClass, HeaderCssClass, and FooterCssClass properties).

To customize the window's content, you can use the following templates:

Placement

FlyoutPosition: Bottom

Use the Position property to specify the Flyout position relative to a target element (PositionTarget) or to a Rectangle object (PositionRectangle). You can specify a list of available values or set the property to the Auto value to allow the Flyout component to determine the most suitable window position.

The Offset and Distance properties set the component offset and distance alongside/from the target element.

Automatic Position Adjustment

The Flyout recalculates its position when certain page elements are changed (for instance, when the page is scrolled or resized). Use the RestrictionMode property to restrict the Flyout position.

In this demo, the RestrictionMode property is set to TargetElement and the flyout window position is restricted by the target element's boundaries (RestrictionTarget).

The FitToRestriction property specifies whether the Flyout can overlap restriction boundaries. When the component does not meet the position restrictions, it can be hidden or closed, based on the CloseMode property value.