AdaptiveNotificationText AdaptiveNotificationText AdaptiveNotificationText AdaptiveNotificationText AdaptiveNotificationText Class


Represents the text content of an adaptive notification.

public : sealed class AdaptiveNotificationText : IAdaptiveNotificationContent
struct winrt::Windows::UI::Notifications::AdaptiveNotificationText : IAdaptiveNotificationContent
public sealed class AdaptiveNotificationText : IAdaptiveNotificationContent
Public NotInheritable Class AdaptiveNotificationText Implements IAdaptiveNotificationContent
var adaptiveNotificationText = new adaptiveNotificationText();

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)


AdaptiveNotificationText() AdaptiveNotificationText() AdaptiveNotificationText() AdaptiveNotificationText() AdaptiveNotificationText()

Creates a new instance of the AdaptiveNotificationText class.


Hints Hints Hints Hints Hints

Specifies hints for formatting the notification, such as the text style, text wrapping, and alignment. For a complete list of hints, see the text element entry of the Adaptive notifications schema.

Kind Kind Kind Kind Kind

Specifies the type of content the notification contains. This property always returns AdaptiveNotificationContentKind.Text.

Language Language Language Language Language

Gets or sets the language of the text content.

Text Text Text Text Text

Gets or sets the text content to display.

See also