Controls Namespace
Namespace Avalonia.Controls.Pdf.Controls
Types
- OverflowToolbarPanel - Horizontal panel that arranges children left-to-right. When the natural width exceeds the available width, the children that don't fit are "demoted" — kept in the visual tree but arranged at an empty Avalonia.Rect so they take no visible space — and exposed via Avalonia.Controls.Pdf.Controls.OverflowToolbarPanel.OverflowedChildren. A child marked with Avalonia.Controls.Pdf.Controls.OverflowToolbarPanel.IsOverflowIndicatorProperty is reserved as the rightmost slot when overflow occurs, so the host can render a "more" button there.
The host listens to Avalonia.Controls.Pdf.Controls.OverflowToolbarPanel.OverflowChanged and mirrors the overflowed originals as proxy entries inside an overflow flyout. The originals stay in this panel (avoiding the parent-swap headaches of re-parenting children at runtime) and the proxies forward state/clicks to them.