WindowsAppSDK icon indicating copy to clipboard operation
WindowsAppSDK copied to clipboard

Feature Request: Implement missing AppNotificationBuilder APIs

Open tipa opened this issue 6 months ago • 0 comments

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

tipa avatar Jun 13 '25 16:06 tipa