Overflow panel

Resize the area where the badges are shown in (bottom right/left corner) to hide Tags when an overflow occurs.

Examples

Horizontal

Example
Blazor
Microsoft
Azure
DevOps
Framework
Office
Installation
Blazor
Microsoft
Azure
DevOps
Framework
Office
Installation

In the following example, the first element will always be displayed (fixed), but an ellipse (...) will be added when the container size is too small. Note: the element must be able to display this ellipse, which is the case for text (like below) but not for the FluentBadge.

Aspire;
Blazor;
Microsoft;
Azure;
DevOps

With below example the VisibleOnLoad parameter is set to false. Make sure the screen dimension is small enough to show an overflow badge with count. Then refresh the page to see the difference between this example and the one above

Download: 

Horizontal Customized

Example
Blazor
WPF
Add Remove
Download: 

Documentation

FluentOverflow Class

Parameters

Name
Type
Default
Description
ChildContentRenderFragment?
Gets or sets the content to display.
All first HTML elements are included in the items flow.
IdMoreButtonstring
f3a06c20e-more
Gets the unique identifier associated to the more button ([Id]-more).
ItemsOverflowIEnumerable<FluentOverflowItem>
Gets all items with FluentOverflowItem.Overflow assigned to True.
MoreButtonTemplateRenderFragment<FluentOverflow>?
Gets or sets the template to display the More button.
OrientationOrientation
Horizontal
Gets or sets the orientation of the items flow.
OverflowTemplateRenderFragment<FluentOverflow>?
Gets or sets the template to display FluentOverflow.ItemsOverflow elements.
Selectorsstring?
Gets or sets the CSS selectors of the items to include in the overflow.
VisibleOnLoadbool
True
To prevent a flickering effect, set this property to False to hide the overflow items until the component is fully loaded.

EventCallbacks

Name
Type
Description
OnOverflowRaisedEventCallback<IEnumerable<FluentOverflowItem>>
Event raised when a FluentOverflowItem enter or leave the current panel.

Methods

Name
Parameters
Type
Description
DisposeAsyncValueTask
OverflowRaisedAsyncstring value
Task
RefreshAsyncTask

FluentOverflowItem Class

Parameters

Name
Type
Default
Description
ChildContentRenderFragment?
Gets or sets the content to display. All first HTML elements are included in the items flow.
FixedOverflowItemFixed
None
Gets or sets whether this element does not participate in overflow logic, and will always be visible.
Defaults to false
Overflowbool?
Gets True if this component is out of panel.
OwnerFluentOverflow?
Gets or sets the reference to the associated container.
Textstring
Gets the InnerText of FluentOverflowItem.ChildContent.
Horizontal
Vertical
None
Fixed
Ellipsis
An error has occurred. This application may no longer respond until reloaded. Reload 🗙