787 questions with Windows App SDK tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

How to build an application correctly in the WinUI3 project template?

I am working in the Blank App, Packaged (WinUI 3 in Desktop). When compiling and launching a new project in Visual Studio using the keyboard shortcut "Ctrl + F5", the application opens without problems. However, when building the project and…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
812 questions
asked 2024-10-15T14:33:58.7666667+00:00
RΞY 20 Reputation points
edited an answer 2024-10-18T05:12:48.83+00:00
Roy Li - MSFT 33,366 Reputation points Microsoft Vendor
0 answers

How to use Region (Win GDI) APIs on top of Xaml Island window

Hello, I want to draw different shapes in WinRT/C++ application using Region APIs. It is Windows Desktop Application with Xaml Island. I'm creating child window of the Xaml Island window, and then trying to use Region APIs to draw rectangle on this…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
asked 2024-10-15T09:20:10.1033333+00:00
Shyam Butani 235 Reputation points
commented 2024-10-17T05:29:00.64+00:00
Shyam Butani 235 Reputation points
2 answers

How to create Pie-chart and Bar-chart in WinRT/C++ application

Hello, I'm working on Windows Desktop Application with Xaml Island. I want to create and show charts (Pie chart and Bar chart) in my application. I'm not able to find any strait forward way to do this. Can you give some suggestion on…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
asked 2024-10-08T10:59:06.88+00:00
Shyam Butani 235 Reputation points
commented 2024-10-17T05:28:18.8466667+00:00
Shyam Butani 235 Reputation points
0 answers

How do I receive the download progress of a Microsoft Store package? | WinUI/UWP

Hi. I'm installing a package from the Microsoft Store from my WinUI application, but I'd like to see the download progress. I have the following code on Constructor: PackageCatalog packageCatalog => PackageCatalog.OpenForCurrentUser(); And when I…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
asked 2024-10-03T14:36:32.7566667+00:00
Anderson Rodrigues Cavalcante 316 Reputation points
commented 2024-10-16T01:02:14.3033333+00:00
Roy Li - MSFT 33,366 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Can we use both WinUI3 controls and Win32 controls in a WinUI3 application?

Hi, I'm using WinUI3 application, As we can extract HWND from WinUI3 window, and we can attach Window Proc with SetWindowSubclass and manage WM_* messages, I was wondering if we can use Win32 controls and WinUI3 controls at the same time. I was…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,742 questions
asked 2022-12-05T06:13:30.36+00:00
Harshithraj1871 1,536 Reputation points
edited a comment 2024-10-15T08:06:23.9266667+00:00
Shyam Butani 235 Reputation points
2 answers One of the answers was accepted by the question author.

Windows SDK versions are not clear for me

Hello! On the https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/ page the latest SDK version is 10.0.26100, however Wikipedia tells that the stable release is 10.0.22621.0 (which is on the SDK archive page). Maybe the wiki page is not…

Universal Windows Platform (UWP)
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
asked 2024-10-12T18:19:15.7766667+00:00
Zsolt Kántor 80 Reputation points
commented 2024-10-13T13:31:58.6566667+00:00
Zsolt Kántor 80 Reputation points
1 answer One of the answers was accepted by the question author.

How to use Toast notifications in Windows App SDK 1.4?

I want to use Toast notifications in Windows App SDK 1.4 (below) but I don't know how to create them, most of the tutorial codes I've seen on the internet are not the same, and although they all work, they have the same feature: "Creates a new…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
asked 2023-09-25T08:52:17.4633333+00:00
Starcloudsea 60 Reputation points
commented 2024-10-08T22:25:36.8833333+00:00
Hardeep Singh 0 Reputation points
1 answer

How can I check for updates from within a Windows app in .NET MAUI?

I am developing a windows application using .NET MAUI planform. I am deploying it to the user using the appinstaller file. I configured the appinstaller file to check for update in the background every 8 hour once. What I also need is to check for update…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,541 questions
asked 2024-09-28T19:13:18.2666667+00:00
Lohith K K 105 Reputation points
edited a comment 2024-10-04T08:40:01.4533333+00:00
Lohith K K 105 Reputation points
0 answers

Secure Storage of Data in a WinUI Application

How can I securely store data in Windows App SDK when other applications can access it? DPAPI doesn't offer sufficient protection and adding entropy is not enough. Where can I store the entropy? Can someone explain the mechanism for secure data storage…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
asked 2024-09-06T12:29:39.2033333+00:00
Kirthick Raj S 0 Reputation points
edited the question 2024-09-27T06:33:05.7966667+00:00
Roy Li - MSFT 33,366 Reputation points Microsoft Vendor
1 answer

WinUI 3 application crashes at App.g.i.cs

I am trying to create a WinUI 3 Application in C# and my application keeps crashing at App.g.i.cs #if DEBUG && !DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION UnhandledException += (sender, e) => { …

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
asked 2024-09-23T04:58:18.58+00:00
Peggun 20 Reputation points
commented 2024-09-27T01:45:02.8233333+00:00
Roy Li - MSFT 33,366 Reputation points Microsoft Vendor
1 answer

Can ssl certificates be used for code signing?

Can SSL certificates be used for code signing? Thanks a lot.

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
asked 2024-09-18T06:02:34.4866667+00:00
Jianfeng Li 0 Reputation points
edited the question 2024-09-23T08:04:57.23+00:00
TP 96,331 Reputation points
1 answer One of the answers was accepted by the question author.

How do I access DWriteCore from a C# managed application?

How do I access DWriteCore from a C# managed application? I'm using .Net5 WindowsAppSDK Desktop. I need to get a SYSTEM and CUSTOM FONT COLLECTION LIST using DWriteCore, but I need to do so from a C# App using WindowsAppSDK, which says it includes…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,163 questions
asked 2021-10-02T06:36:10.877+00:00
Kenny Brown 51 Reputation points
commented 2024-09-15T16:49:43.5366667+00:00
Castorix31 85,546 Reputation points
1 answer One of the answers was accepted by the question author.

How to set the a transparent background for TransportControls in MediaPlayerElement control in WinUI3

In UWP, for the MediaPlayerElement control, the MediaTransportControls background is transparent. But not in WinUI3, so how to set it to transparent?

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
asked 2024-09-04T03:53:22.87+00:00
C CB 170 Reputation points
accepted 2024-09-13T02:58:58.33+00:00
C CB 170 Reputation points
1 answer One of the answers was accepted by the question author.

Taskbar Color Reverts When Changing Color Using SetWindowCompositionAttribute in WinUI3

Hi, I am encountering an issue with the taskbar color on Windows. When I change the taskbar color using the SetWindowCompositionAttribute method, the color initially changes as expected. However, as soon as I click the 'Start' button, the taskbar color…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,427 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
asked 2024-09-10T06:38:06.4466667+00:00
Jacob Mordon 225 Reputation points
accepted 2024-09-12T08:54:13.6366667+00:00
Jacob Mordon 225 Reputation points
0 answers

In winui 3, how to bind to a dependency property of my UserControl, inside a DataTemplate of a contained ItemsControl?

So I have a UserControl, which contains an ItemsControl. I need the controls defined inside the DataTemplate to bind to a dependency property in my UserControl. Let's say my UserControl has a dependency property MyProp. I want to do the following in my…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
asked 2024-09-02T00:52:25.9866667+00:00
Voyageur Solitaire 1 Reputation point
commented 2024-09-12T05:30:40.35+00:00
Jeanine Zhang-MSFT 9,756 Reputation points Microsoft Vendor
0 answers

How to binding ViewModel's SearchText variable to the DataGrid Cell as a converter parameter?

I've an other question: How to binding ViewModel's SearchText variable to the DataGrid Cell as a converter parameter. I'm using a converter to change ViewModel's list's field name: "content" to highlightedText textBlock. but the Convert method…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,541 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,724 questions
asked 2024-09-11T08:59:17.1733333+00:00
EdgeMac 20 Reputation points
commented 2024-09-12T03:19:03.79+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 31,976 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

how to highlight searched text in DataGrid Cells on WinUI 3 application. Or how to use RichTextBlock in the Datagrid cell?

how to highlight searched text in DataGrid Cells on WinUI 3 application. Or how to use RichTextBlock in the Datagrid cell? I'm writing a C# WinUI 3 Desktop App with DataGrid. And I want to use rich text in the DataGird cell to highlight the searched…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,642 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,427 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,724 questions
asked 2024-09-10T14:50:55.9+00:00
EdgeMac 20 Reputation points
commented 2024-09-11T08:52:53.2466667+00:00
EdgeMac 20 Reputation points
0 answers

XAML code autocomplete (Intellisense) is disabled/ greyed out and can't be enabled

Hard case here: After i installed a WinUI Preview version the WinUI Templates disappeared after weeks of installation (it's a known bug but i can't find the link anymore). Nothing helped but a reinstallation with previous removal of all VS…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
999 questions
asked 2022-06-26T10:09:34.423+00:00
youki 1,021 Reputation points
commented 2024-09-06T19:34:43.1133333+00:00
David Lee Perish 0 Reputation points
0 answers

Issue with BitmapEncoder and BitmapDecoder in Windows.Graphics.Imaging

Hi everyone, I'm encountering an error while working with the Windows.Graphics.Imaging namespace. Here's the relevant code snippet: using (Windows.Storage.Streams.InMemoryRandomAccessStream stream = new…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,541 questions
asked 2024-09-03T08:19:11.34+00:00
tomohak 0 Reputation points
commented 2024-09-06T02:14:00.9066667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 43,371 Reputation points Microsoft Vendor
3 answers

Blazor Hybrid (MAUI) - Customize TitleBar

This is a follow-up to a previous question. I now see that the Title Bar customization API only works for Windows 11 (AppWindow.TitleBar is null on <Windows 11). For this question, keep in mind that I am only asking about the Title Bar when…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,584 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,541 questions
asked 2022-07-07T19:02:56.817+00:00
Humberto Cruz-Oyola Jr 21 Reputation points
commented 2024-09-05T18:14:24.4266667+00:00
Humberto Cruz-Oyola 0 Reputation points