Skip to content

ui::TrayFlyoutOptions

Header: winui/ui/TrayIcon.hpp.

What tray_flyout_options() takes: the few things an app chooses about a tray flyout.

Field Type Default
title std::string The window's title. No caption shows it, but screen readers read it.
width float 360.0f The flyout's client width, in DIPs. Its height follows its content.
shadow bool false A drop shadow under the flyout. Off by default, as under the system's own flyouts. The rounded corners and the 1px rim stay either way.
theme ThemeRequest What to resolve the flyout's Theme from.
backdrop Backdrop Backdrop::None A system backdrop behind the flyout instead of its fill. Off by default.
spell_check SpellCheckOptions See SpellCheckOptions.