Popover

Popovers are used to display additional information about an element when the user hovers over or focuses on the element.

Use the AnchorId parameter to connect the popover to the component it is positioned relative to.

Examples

Callout

Example
Open Callout 1
Open Callout 2
Download: 

Empty parts

Example
Open Callout 1
Open Callout 2
Open Callout 3
Download: 

Documentation

FluentPopover Class

Parameters

Name
Type
Default
Description
AnchorIdstring
Gets or sets the id of the component the popover is positioned relative to.
AutoFocusbool
True
Gets or sets whether the element should receive the focus when the component is loaded.
If this is the case, the user cannot navigate to other elements of the page while the Popup is open.
Default is true.
BodyRenderFragment?
Gets or sets the content of the body part of the popover.
CloseKeysKeyCode[]?
Gets or sets the keys that can be used to close the popover.
By default, Escape
FixedPlacementbool?
Gets or sets a value indicating whether the region is positioned using css 'position: fixed'.
Otherwise the region uses 'position: absolute'.
Fixed placement allows the region to break out of parent containers.
FooterRenderFragment?
Gets or sets the content of the footer part of the popover.
HeaderRenderFragment?
Gets or sets the content of the header part of the popover.
HorizontalInsetbool
True
Gets or sets a value indicating whether the region overlaps the anchor on the horizontal axis.
Default is true which places the region aligned with the anchor element.
HorizontalPositionHorizontalPosition?
Unset
Gets or sets the default horizontal position of the region relative to the anchor element.
Default is unset. See FluentPopover.HorizontalPosition
HorizontalThresholdint
0
How narrow the space allocated to the default position has to be before the widest area is selected for layout.
Openbool
False
Gets or sets popover opened state.
VerticalPositionVerticalPosition?
Bottom
Gets or sets the default vertical position of the region relative to the anchor element.
Default is unset. See FluentPopover.VerticalPosition
VerticalThresholdint
0
How short the space allocated to the default position has to be before the tallest area is selected for layout.

EventCallbacks

Name
Type
Description
OpenChangedEventCallback<bool>
Callback for when open state changes.
Unset
Start
End
Left
Right
Center
Unset
Top
Bottom
Center
An error has occurred. This application may no longer respond until reloaded. Reload 🗙