AdaptiveNotificationText AdaptiveNotificationText AdaptiveNotificationText AdaptiveNotificationText AdaptiveNotificationText Class

Definition

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();
Attributes

Windows 10 requirements

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

Constructors

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

Creates a new instance of the AdaptiveNotificationText class.

Properties

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