private void NotifyIcon_TrayContextMenuOpening(object sender, CancelEventArgs e)
{
BuildContextMenu(NotifyIcon.TrayContextMenu);
if (!App.Current.MainWindow.IsLoaded)
NotifyIcon.TrayContextMenu.IsOpen = true;
}
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.
The ShowBalloonTip method allows you to provide a System.Drawing.Icon object to show a custom icon in the balloon notification. However, the method doesn't work when this overload is used. The balloon notification is not displayed at all.
To work this around, use the predefined BalloonTipIcon icons with the additional overload of the method.
notifyIcon.ShowBalloonTip( "title", "text", BalloonTipIcon.Warning);