Declined
Last Updated: 30 Jan 2025 19:40 by ADMIN
Created by: wu
Comments: 1
Category: NotifyIcon
Type: Bug Report
1

The pop-up content is not displayed in the bottom right corner, but in the top left corner, and can not show balloon.

Screen resolution: 4K

Window size: 15.6 inches

Operating System: Windows 11

Run:From Microsoft Store App telerik WPF controls.

 

 

Declined
Last Updated: 21 Dec 2021 10:11 by ADMIN
The TrayContextMenu is not displayed if the application does not have a MainWindow. If the menu's IsOpen property is set to true in the TrayContextMenuOpening event, however, the menu is shown as expected.
        private void NotifyIcon_TrayContextMenuOpening(object sender, CancelEventArgs e)
        {
            BuildContextMenu(NotifyIcon.TrayContextMenu);
            if (!App.Current.MainWindow.IsLoaded)
                NotifyIcon.TrayContextMenu.IsOpen = true;
        }