780 questions with Windows App SDK tags

Sort by: Updated
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…

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.
780 questions
asked 2024-09-06T12:29:39.2033333+00:00
Kirthick Raj S 0 Reputation points
commented 2024-09-19T08:23:16.7733333+00:00
Roy Li - MSFT 33,001 Reputation points Microsoft Vendor
0 answers

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.
780 questions
asked 2024-09-18T06:02:34.4866667+00:00
Jianfeng Li 0 Reputation points
commented 2024-09-18T07:19:39.31+00:00
Jeanine Zhang-MSFT 9,666 Reputation points Microsoft Vendor
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.
780 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,592 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,858 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,153 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 84,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.
780 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,332 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.
780 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,592 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,858 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.
780 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,666 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,808 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.
780 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,424 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,858 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,478 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.) 30,746 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,500 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,332 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.
780 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,858 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,478 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.
780 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.
991 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.
780 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,424 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.) 42,081 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,559 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.
780 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,424 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
0 answers

Drag-and-drop widget is not not working for Win32 applicaiton in administrative mode

Hello, I'm creating Win32 application with XAML island. I want to allow drag-and-drop of UI element. Below is the code to give an idea of what I'm trying to do. Basically, I want to drag TextBlock and drop on Canvas. This is working as expected for…

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.
780 questions
asked 2024-08-28T06:00:31.62+00:00
Shyam Butani 190 Reputation points
commented 2024-09-05T12:10:24.65+00:00
Shyam Butani 190 Reputation points
1 answer One of the answers was accepted by the question author.

Best practices for handling resources (.resw) that need to be formatted

I have resources like Formatted by {0} on x Approach #1 In the backend (.cs file), we create a parameter like so: string FormattedString = string.format(getResource("abc"), userId); and use the FormmatedString directly in the xaml file. …

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.
780 questions
asked 2024-03-05T07:39:10.5733333+00:00
Brij 20 Reputation points
accepted 2024-09-04T04:38:48.31+00:00
Brij 20 Reputation points
1 answer One of the answers was accepted by the question author.

ColorPicker localization in WinUI 3

Hi, I would like to know, can I somehow change localization of Microsoft.UI.Xaml.Controls.ColorPicker in Runtime, because I noticed if I restart application, it will automatically localize. I want to change tooltips, which are on AlphaSlider, ValueSlider…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 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.
780 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,858 questions
asked 2024-09-02T10:30:17.9433333+00:00
Jacob Mordon 225 Reputation points
accepted 2024-09-03T12:03:47.9533333+00:00
Jacob Mordon 225 Reputation points
1 answer One of the answers was accepted by the question author.

Why does WerRegisterAppLocalDump API not work with packaged apps?

Hello, I tried to use the WerRegisterAppLocalDump API in a packaged WinUI 3 app. The function returns HRESULT 0, so success. But if you try to crash the app, no crash dump file is created in any directory of the app data (especially not "relative…

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.
780 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,592 questions
asked 2024-08-26T10:56:39.57+00:00
Whiskhub 25 Reputation points
accepted 2024-09-03T06:45:36.67+00:00
Whiskhub 25 Reputation points
0 answers

Optimize search through all drives

Hi, I need to implement an efficient search through user's disks. I would really like to search multiple disks in parallel to speed up the process, but at the same time, avoid using too much CPU resources. I've already implemented a directory search…

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,332 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.
780 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,858 questions
asked 2024-08-26T08:26:39.12+00:00
123244 20 Reputation points
commented 2024-09-02T11:27:03.85+00:00
123244 20 Reputation points
1 answer One of the answers was accepted by the question author.

How to Add Tooltips to Buttons and other UI Components (like - Checkbox, Radio button etc) in Win32 (C++) Desktop Application?

Hi there, I have a Win32 (C++) program on which I want to Add some Tooltips to some of it's UI components like - Button, Checkbox, Radio button. I tried a lot but nothing works. Here is my Demo program : #include <windows.h> struct { int…

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.
780 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,592 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,693 questions
asked 2024-08-27T14:38:58.41+00:00
MERUN KUMAR MAITY 576 Reputation points
accepted 2024-09-02T07:51:55.9766667+00:00
MERUN KUMAR MAITY 576 Reputation points
0 answers

Collision between Microsoft.Identity.Client.Desktop and Microsoft.WindowsAppSdk in WinUI 3[Closed]

Hi, I would like to know, how to solve error like this: error NETSDK1152: Found multiple publish output files with the same relative…

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.
780 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,858 questions
asked 2024-08-28T14:21:06.02+00:00
Jacob Mordon 225 Reputation points
edited the question 2024-08-29T13:03:10.7566667+00:00
Jacob Mordon 225 Reputation points
2 answers

I need to delete 1 Windows Software Development kit. will this cause any harm to my computer?

I want to delete 1 apps to free up space and noticed the Windows SDK is taking up 2GB of storage! I want to delete it but I don't want to risk doing any damage to my computer. is there a way to fix the storage issue without having to uninstall this or…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,500 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.
780 questions
asked 2024-08-26T16:34:34.03+00:00
Nguyễn Duy Nhật 0 Reputation points
commented 2024-08-29T06:55:25.4566667+00:00
Tong Xu - MSFT 2,456 Reputation points Microsoft Vendor
0 answers

Does the Windows 11 Dynamic Lighting SDK support the Qualcomm platform?

We have previously successfully used the Dynamic Lighting SDK on the Windows 11 Intel platform to create customized lighting effects. Now, I need to develop a program on the Qualcomm platform and would like to know if the Dynamic Lighting SDK supports…

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.
780 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,478 questions
asked 2024-08-26T05:33:35.7966667+00:00
Hank Lin 1 Reputation point
commented 2024-08-28T16:45:34.16+00:00
Eric Badger 0 Reputation points Microsoft Employee