This is a migrated thread and some comments may be shown as answers.

NotifyIcon Execution

1 Answer 313 Views
NotifyIcon
This is a migrated thread and some comments may be shown as answers.
Jeon
Top achievements
Rank 1
Jeon asked on 03 Jul 2020, 06:16 AM

I reproduced the "First Look" example program code in "NotifyIcon" in the "NotifyIcon" in "WPF Controls Examples" program in a project created on a personal computer.
It is executed.
However, the popup does not appear when the button is pressed.
If you write the code using the "NotifyIcon" introduced on the "Telerik UI" site, the results are the same.
It runs, but no popup appears.
Simply submit the code you wrote below.
Can you tell me what the problem is?

 

MainWindow.xaml.cs
        private void OnShowNotification(object sender, RoutedEventArgs e)
        {
            this.icon.ShowBalloonTip();
        }

 

MainWindow.xaml

    Button Content="Show notification" Click="OnShowNotification" /> 
    <telerik:RadNotifyIcon 
        x:Name="icon" 
        BalloonText="Balloon Text" 
        BalloonTitle="Balloon Title" 
        TrayIconSource="black.ico" 
        BalloonIconSource="black.ico"> 
    </telerik:RadNotifyIcon> 

 

 

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 08 Jul 2020, 05:59 AM

Hello,

Can you check the Missing Controls in the UI article and see if this helps? I also tested your code with Xaml dlls and the balloon shows properly. You can see the attached project I've used for testing. 

Regards,
Martin Ivanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
NotifyIcon
Asked by
Jeon
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or