Dela via


NotificationVisual Class

Definition

Represents the visual element of a notification. The visual element contains bindings, which contain the text and other visual content for the notification.

public ref class NotificationVisual sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
class NotificationVisual final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class NotificationVisual final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public sealed class NotificationVisual
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class NotificationVisual
Public NotInheritable Class NotificationVisual
Inheritance
Object Platform::Object IInspectable NotificationVisual
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Properties

Bindings

Gets the bindings for this notification visual. Bindings contain text and other visual content for the notification.

Language

Gets or sets the language for this notification visual.

Methods

GetBinding(String)

Retrieves the binding with the specified template.

Applies to

See also