Property IsVisibleInTray
| Edit this page View SourceIsVisibleInTray
Gets or sets a value indicating whether the window is shown in the system tray.
Declaration
public bool IsVisibleInTray { get; set; }
Property Value
Type | Description |
---|---|
bool |
Remarks
The system tray icon will use the same icon as Window's Taskbar icon, and tooltip will match the AppWindow.Title value. Double-clicking the icon restores the window if minimized and brings it to the front.
See SetIsShownInSwitchers(Window, bool) to hide the window from the Alt+Tab switcher and task bar.
If you want to minimize the window to the tray, set this to true
and when WindowStateChanged is fired and changes to minimized,
hide it from the switcher.