Share via


FeedAnnouncement.DarkModeIconUri Property

Definition

Gets or sets the required icon URI for the dark mode OS theme, which will be displayed on the notification if the current OS theme is dark.

public:
 property Uri ^ DarkModeIconUri { Uri ^ get(); void set(Uri ^ value); };
Uri DarkModeIconUri();

void DarkModeIconUri(Uri value);
public System.Uri DarkModeIconUri { get; set; }
var uri = feedAnnouncement.darkModeIconUri;
feedAnnouncement.darkModeIconUri = uri;
Public Property DarkModeIconUri As Uri

Property Value

The dark mode icon URI.

Remarks

Supported image formats for announcement icons are:

  • .png
  • .jpg
  • .jpeg
  • .gif

Applies to