Skip to content

Feature Request: Implement missing AppNotificationBuilder APIs #5520

@tipa

Description

@tipa

Describe the bug

AppNotificationBuilder is missing APIs that were available in UWP's ToastContentBuilder:

  • AdaptiveText
  • AdaptiveGroup
  • AdaptiveSubgroup
  • AddVisualChild
  • ...

Steps to reproduce the bug

In UWP I was able to do the following. Those APIs are not available for AppNotificationBuilder

var text = new AdaptiveText { HintWrap = true, Text = text, HintStyle = AdaptiveTextStyle.CaptionSubtle };
new ToastContentBuilder()
    .AddVisualChild(new AdaptiveGroup { Children = { new AdaptiveSubgroup { Children = { text } } } });

It's also documented as not being available: https://learn.microsoft.com/en-us/windows/apps/design/shell/tiles-and-notifications/adaptive-interactive-toasts?tabs=appsdk#columns-and-text-elements

Expected behavior

No response

Screenshots

No response

NuGet package version

Windows App SDK 1.7.3: 1.7.250606001

Packaging type

Packaged (MSIX)

Windows version

Windows 11 version 24H2 (22621, October 2024 Update)

IDE

Visual Studio 2022

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    UWP GapIssues where functionality available in UWP is missing for Win32 appsarea-NotificationsToast notification, badges, Live Tiles, push notificationsfeature proposalneeds-triage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions