var dataTemplate = this.Resources["GlyphTemplate"] as DataTemplate;
alert.IconTemplate = dataTemplate;
alert.Header = "DONE NOTIFICATION";
alert.Content = "This is a test fot Glyphs.";
alert.ShowDuration = 3000;
RadDesktopAlertManager manager = new RadDesktopAlertManager();
manager.ShowAlert(alert);
}
I have used for the example the Office2016 theme, but the Glyph dictionary and font is accessible in all the themes for WPF with the need to merge the FontResources.xaml from Telerik.Windows.Controls.dll to use its contents as StaticResource references.
Regards,
Martin
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.