Hi All,
I am trying to assign an icon from my resources as follows but no icon is displayed. Can anyone help me please?
P.S. This code works elsewhere where I add the image to a canvas
Dim icon As New Image()
icon.Height = 80
icon.Width = 80
icon.Source = New BitmapImage(New Uri("Resources/monitorNoComms.png", UriKind.Relative))
alert.Foreground = New SolidColorBrush(Colors.White)
alert.BorderBrush = New SolidColorBrush(Colors.White)
alert.Header = header
alert.Content = message
alert.IconColumnWidth = 80
alert.Icon = icon
alert.CanAutoClose = autoClose
alert.BorderThickness = New Thickness(1)
manager.ShowAlert(alert)