Cannot Unlock Taskbar Pinning with LimitedAccessFeatureStatus
I want to pin my application to the taskbar. I followed the steps here, obtained my LAF keys from Microsoft, and now I am trying to implement the feature. Not sure if the LAF keys are bound to a specific application name have other restrictions. I…
How to extend execution of background task in WinUI 3 (analog of ExtendedExecutionSession in UWP)?
My application has a background task that performs a cleanup of unnecessary or unused system files selected by the user. However, this task takes more than 30 seconds to complete, which exceeds the standard time limit. Question: Is there any way to…
How do I use resource files in a WinUI project
I'm trying to use the resource system in VS, but when I try to access a resource, it can't find it. Here's my setup... I have a WinUI project with a library DemoApp GfxToolkit In the GfxToolkit library project I have a resources file…

Clarification on Whitelisting IdentityServiceDNS for WNS Notifications
We are using Windows Notification Service (WNS), and I noticed the following FQDNs listed under IdentityServiceDNS in the latest XML configuration file: login.microsoftonline.com login.live.com Given that our environment does not use Microsoft…
color doesn't show, wrong color selected
I am building an app with WinUI (Is not very pleasant) anyway have a model, that represents color, but when I bind, I don't see the colors, and when I select the color is not the correct color namespace NanoFlow.Model { public class ColorOption(Color…
How to simulate user interaction in WinUI3 desktop application
Hi, I'm working on WinUI3 desktop application in CPP. I want to test my application for user interaction like keyboard input, mouse input, dragging widgets/ Window, sending OS events, etc. I tried simulating with SendInput API, it did work well, but is…
Marshalling Error for WinUI 3 Application
Hello. So I've been creating a WinUI 3 app C# in visual studio. For loading the list of installed fonts, I had to install Microsoft.Graphics.Win2D NuGet package. For that, it required me to update the NuGet packages of "WindowsAppSDK" and…

What is the equivalent of "UWP device apps" in the new Windows App SDK?
We would like to make an app and driver that gets installed when our USB device is plugged into a Windows PC. "UWP device apps" seems to do the trick: https://learn.microsoft.com/en-us/windows-hardware/drivers/devapps/ However it looks like MS…
Set min size of windows with Windows App SDK
Are there any method to set min size of windows with windows app sdk like we could do before, with ApplicationView.SetPreferredMinSize(Size) (uwp)

Will Voice Access work with SAPI.
I can't seem to get a proper response on what is happening with Speech Recognition. I use a complex speech command grammar that I use with programs developed for my music publishing business. That was defined using the Speech SDK and implemented via…

HttpListener in WinUI app doesn't catch params in link
Hi! I try to get authorization code for Microsoft, using authorization via browser. I use HttpListener for catching redirect with code, but it's catch only redirect without parameters. In browser I saw redirect with code. My code: private string…
Using Styles in XAML
I have defined styles in Styles.xaml within a ResourceDictionary, then I "import" them at the root element in my main window <RelativePanel.Resources> <Style TargetType="Button"…
Restrict printer selection while printing in WinUI app
In a WinUI app, I want to restrict the user from selecting any printer, only allowing a predefined set of printers. Additionally, the user should not be able to modify the print settings, such as altering the paper size or page range; they should only be…
Win32 context menu items issues
Hello everyone, could you please tell me what can go wrong with getting context menu items via win32? First of all, do I understand correctly that the ampersand in the name is normal? But at the same time, some elements have a localized dwTypeData, some…
Change or Neutralize default button visual states
I am defining a style for Buttons to have different from default behavior when user interacts with it. First lets assume I want to neutralize the visual statues of the button. I still want the button to be clickable, I just don't want the click or mouse…
Can we set preview of Drag-and-Drop before drag event in WinUI2?
Hi, I'm working on WinUI2 application with Xaml Island in C++. Suppose we've one draggable TextBlock and when we drag it, we can see some preview moving with the mouse pointer moving. In order to set that preview I'm doing in DragStarting handler as…
How to Disable Scrolling in a Navigation View with WindowsAppSDK
I have a WindowsAppSDK app that uses a navigation view control for navigation. For one of the pages, scrolling should be disabled, allowing the page to shrink to fit within the navigation view's content pane. How can scrolling be disabled and the page…
WinUI3 TabView Binding Not Updating Correctly - Recycling Instances?
Is this a bug in TabView implementation? Or what could I be doing wrong? Summary: Binding seems to get out of sync when adding and removing tabs from tab TabView. Minimal Working Example that Demonstrates the Issue: Code for minimal working example…

How to implement alternating row colors in a ListView using Windows App SDK
I have a Windows App SDK app that has a ListView, and I want the row colors to alternate. What is the best way to achieve this?
Need primary window on top of another primary window using WinUI3 and win32
Hi team, I am referring the below code sample which is provided by your team. https://app.box.com/s/wbpx7rzvwyqna66z0yckfprcf6qxg9kh So now we have requirement to keep two primary window on top of another main window. and 1st main window to…