Edit

Share via


ToastShoulderTapImage Class

Definition

Specifies the image to be displayed on a My People shoulder tap notification. New in Fall Creators Update.

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

Constructors

ToastShoulderTapImage()

Properties

AddImageQuery

Gets or sets a value whether Windows should append a query string to the image URI supplied in the Source property. 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 (Required). This will be used if the sprite sheet isn't provided, or if the sprite sheet cannot be loaded. Can be from your application package, application data, or the internet. Internet images must obey the toast image size restrictions.

SpriteSheet

Gets or sets an optional sprite sheet that can be used instead of the image to display an animated sprite sheet.

Applies to