Edit

Share via


ToastGenericHeroImage Class

Definition

A hero image for the Toast notification.

public sealed class ToastGenericHeroImage : Microsoft.Toolkit.Uwp.Notifications.IBaseImage
type ToastGenericHeroImage = class
    interface IBaseImage
Public NotInheritable Class ToastGenericHeroImage
Implements IBaseImage
Inheritance
ToastGenericHeroImage
Implements

Constructors

ToastGenericHeroImage()

Initializes a new instance of the ToastGenericHeroImage class. A hero image for the Toast notification.

Properties

AddImageQuery

Gets or sets a value whether Windows is allowed to append a query string to the image URI supplied in the Tile notification. Use this attribute if your server hosts images and can handle query strings, either by retrieving an image variant based on the query strings or by ignoring the query string and returning the image as specified without the query string. This query string specifies scale, contrast setting, and language.

AlternateText

Gets or sets a description of the image, for users of assistive technologies.

Source

Gets or sets the URI of the image. Can be from your application package, application data, or the internet. Internet images must be less than 200 KB in size.

Applies to