Questions tagged [windows-app-sdk]

The Windows App SDK provides a unified set of APIs and tools that can be used by desktop apps on Windows 11 and 10. It includes features like WinUI 3, tools for App Lifecyle management, windows management, and more.

112 questions
0
votes
0 answers

Microsoft App Installer protests isufficient minimum OS version of Windows App SDK bundle

I have a Microsoft Store app built with WinUI 3 and the Windows App SDK 1.0.0, built on a Windows 11 machine. When attempting to install the bundle on a Windows 10 machine, the Installer fails on insufficient compatibility since the package…
Beltway
  • 508
  • 4
  • 17
0
votes
1 answer

WinUI 3 NavigationView always uses background color from operating system, not from the selected app theme

I am using WinUI 3 with Microsoft App SDK version 1.0.1. I have issues with the background color of an NavigationView (MSDN - NavigationView) element I use for the main navigation. The problem is that the background color of the NavigationView is…
Martin
  • 5,165
  • 1
  • 37
  • 50
0
votes
1 answer

Visual Studio WinUI3 generated resources.pri configuration

Building a C++ WinUI3 project generates a resources.pri file, is it possible to rename it? If yes, how?
yonutix
  • 1,964
  • 1
  • 22
  • 51
0
votes
2 answers

WinUI HyperlinkButton is not displayed underlined

I am using the WinUI technology. I would like to display a HyperlinkButton in my XAML. The problem is that the HyperlinkButton is not displayed underlined. But according to this documentation this should be the case / the default behavior: MSDN -…
Martin
  • 5,165
  • 1
  • 37
  • 50
0
votes
2 answers

Transparent title bar in WinUI 3 app (Windows 11)

I develop some UWP apps to Windows10 and I want put the tile bar transparent in a new app developed in WinUi3. If I try this ExtendsContentIntoTitleBar = true; The minimize, maximize and close buttons disappear, and I cannot move the app in my…
Luís
  • 157
  • 2
  • 10
0
votes
1 answer

How to access a file within program file without the full path

I am using c++/winrt within a WinUI3 project and I am trying to have the application pull up a text file where users can select an option from it. The file I am trying to reach is in the project folder and included in the project. Currently, I have…
0
votes
1 answer

WinUI3: How to style datagrid group header text?

I am using the Windows Community Toolkit DataGrid control in my WinUI3 project. I would like to make the group header text bold. How can I do this? Currently the group header looks like this (not bold): I have tried setting…
Felix
  • 3,783
  • 5
  • 34
  • 53
0
votes
1 answer

TextBlock.Foreground analogue for UWP/WinUI

Is it possible to globally set Foreground for Border for internal controls? Similar to WPF TextBlock.Foreground attached property. I tried this code, it doesn't work:
Konstantin S.
  • 1,307
  • 14
  • 19
0
votes
1 answer

UWP/WinUI: Override TextBox.HeaderTemplate so that it can display complex content

Is it possible to override TextBox.HeaderTemplate so that it can display complex content - like a StackPanel with multiple items?
Konstantin S.
  • 1,307
  • 14
  • 19
0
votes
1 answer

How to properly create a C# WinUI project in Visual Studio 2022?

I've been trying to create a new WinUI project. I prepared the development environment following the MS Docs page and created the new project with Blank App, Packaged (WinUI 3 in Desktop) template. Following code runs without any exception.
0
votes
1 answer

Update the Microsoft.WindowsAppSDK from 1.0.0-experimental1 to 1.0.0

I am trying to update the Microsoft.WindowsAppSDK from 1.0.0-experimental1 to 1.0.0 but after Upgrade the NuGet I get this error cs5001 program does not contain a static 'main' method suitable for an entry point In the CSC file. I am using…
rotem
  • 39
  • 5
0
votes
1 answer

How to associate name and publish it to the store, a WinUI3 app?

I am developing a WinUI3 app with Windows App SDK. However, I am unable to find the option to associate its name with the store and publish it to the store in the right-click menu of the project. Am I missing anything in my VS? (in UWP, there was a…
Mg Bhadurudeen
  • 1,140
  • 1
  • 12
  • 24
0
votes
1 answer

How to bind a property to TreeViewItem.IsSelected in WinUI3?

I am trying to generate a tree view dynamically in WinUI3 desktop application. It can generate the tree but all nodes are unselected by default. My application need to remember selection and replicate previous status. Technically I am able to read…
0
votes
1 answer

How do I customize the Window Titlebar in a Windows App SDK (WIN UI/Project Reunion) Project?

I'm trying to build an app using the new Widows App SDK. I used the Windows Community Toolkit to create the application. After consulting the documentation, I tried this: On the first page that my app displays, I created a Textblock:
0
votes
1 answer

PRI errors when compiling WinUI Desktop apps

Below PRI errors occurred when i try to build the WinUI application and my application has library project A with custom control libraries which referred as NuGet in library projects. Library project A -> Referred as Nuget B and Nuget C. When i try…
Kanniyappan P
  • 281
  • 1
  • 6