731 questions with Windows App SDK tags

Sort by: Updated
0 answers

Performance Discrepancy Between Templated Control and Direct Implementation

I encountered a performance issue while working on a project where I utilized two identical buttons with all properties set the same. The only difference was in the content: one button utilized a PathIcon inside a Viewbox, while the other utilized a…

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.
731 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,382 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.
772 questions
asked 2024-05-24T05:00:57.4466667+00:00
Muthu S 20 Reputation points
commented 2024-05-24T06:24:29.9+00:00
Xiaopo Yang - MSFT 11,581 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to receive WM_SETTINGCHANGE message in WinUI3 when system theme changes

Hi, I want to capture system theme change event in my WinUI3 app. I'm trying like below code snippet, but not receiving WM_SETTINGCHANGE message there. void TWWinUI3App::OnLaunched(LaunchActivatedEventArgs const&) { // ... Window window =…

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.
731 questions
asked 2024-05-22T06:54:06.97+00:00
Shyam Butani 95 Reputation points
commented 2024-05-24T06:18:18.99+00:00
Shyam Butani 95 Reputation points
1 answer

How can I change the border color of a NavigationView in WinUI 3?

Which property is it in the generic.xaml? I can't even find the TargetType. Lines within the red rectangles.

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.
731 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.
772 questions
asked 2024-05-22T15:53:25.08+00:00
youki 996 Reputation points
commented 2024-05-24T01:57:17.5833333+00:00
Xiaopo Yang - MSFT 11,581 Reputation points Microsoft Vendor
0 answers

How To Download .NET Runtime For MSIX Or Appx?

I Want To Use MSIX Hero On My PC And It Requires .NET Runtime 6.0 but i can run exe's for some reason i cant figure out. i am not looking into figure out how to run exes i just want to know or if there is a way do get .NET Runtime 6.0 for msix (bundle)…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 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.
731 questions
asked 2024-05-20T20:10:07.3866667+00:00
QuickSilver 0 Reputation points
commented 2024-05-23T06:33:32.72+00:00
Jeanine Zhang-MSFT 9,266 Reputation points Microsoft Vendor
4 answers

Set MTA Thread on WinUI3

Hi, In winform, we have: [MTAThread] static void Main() { Application.Run(new Main()); } How can we set [MTAThread] in winUI3? Thanks.

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.
731 questions
asked 2022-07-06T10:31:38.17+00:00
Khoa Bui 51 Reputation points
commented 2024-05-15T05:35:29.6166667+00:00
Xiaopo Yang - MSFT 11,581 Reputation points Microsoft Vendor
4 answers One of the answers was accepted by the question author.

[Winui3]How to show a model window?

PrivacyWindow::PrivacyWindow() { InitializeComponent(); //...... window_handle_ = GetWindowHandle(); auto window_id = winrt::Microsoft::UI::GetWindowIdFromWindow(window_handle_); app_window_ =…

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.
731 questions
asked 2022-07-01T08:22:42.937+00:00
lei han 46 Reputation points
answered 2024-05-13T07:15:02.6066667+00:00
Torsten Krause 0 Reputation points
0 answers

Smart screen security error during upload app on store

Hi Team, Could you please help me for sort this issue. I had developed app using Tauri, during submit the APP on store getting security (Smart Screen) error. While I had followed the given steps still error not resolved. Error Below: |10.2.10 Security|A…

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.
731 questions
asked 2024-04-30T09:58:35.7133333+00:00
ankit verma 0 Reputation points
commented 2024-05-06T09:03:37.8133333+00:00
Jeanine Zhang-MSFT 9,266 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Resizable UI Elements/containers in WinUI3

Hi, I am working on WinUI3 application, and doing everything programmatically (without XAML). When we create a window, we can click+drag the border/corner using mouse to resize it. I want similar thing for my UI elements inside window. Basically, I want…

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.
731 questions
asked 2024-05-03T08:20:06.9166667+00:00
Shyam Butani 95 Reputation points
accepted 2024-05-06T05:22:49.36+00:00
Shyam Butani 95 Reputation points
2 answers One of the answers was accepted by the question author.

How to use my downloaded fonts in WinUI 3?

In my WinUI 3 app, I try to declare and apply my downloaded fonts but it doesn't work. Note: If I manually install the font on my computer, it works well. I wonder if the font installation is a must-have step in WinUI 3? Steps that I have done Add…

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.
731 questions
asked 2023-04-03T08:02:21.6933333+00:00
Luyen Do 20 Reputation points
commented 2024-05-04T23:25:27.5366667+00:00
gmgallo 0 Reputation points
1 answer One of the answers was accepted by the question author.

How do I build a .NET WinUI 3 App without VisualStudio?

Let's say that the VisualStudio license terms don't fit my use case. Perhaps my employer defines itself as a "Java shop", and I'd like to show them the goodness of native apps. But I can't do so by producing an app they're not free to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 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.
731 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
325 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,382 questions
asked 2023-05-31T20:50:51.39+00:00
Geronimus 20 Reputation points
commented 2024-05-03T16:55:37.2+00:00
Peter N. Moore 0 Reputation points
2 answers

Back Button click event is firing when we press "space" and "enter" key in the keyboard

Hi Team, I have a back button in my application to navigate back to the previous page. Currently when i press "Enter" or "Space" from the keyboard, The back button click event is firing.(which we are not expected) We need to back…

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.
731 questions
asked 2024-04-24T11:53:52.3266667+00:00
Sunil A M 171 Reputation points
commented 2024-05-02T01:25:18.73+00:00
Xiaopo Yang - MSFT 11,581 Reputation points Microsoft Vendor
1 answer

x:Bind default Mode is "OneTime" or sth else in Windows App SDK ?

I have written the code below: XAML code: <ListView ItemsSource="{x:Bind players}"> ***<ListView.ItemTemplate>*** ***<DataTemplate x:DataType="local:Numbers">*** ***<TextBlock…

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.
731 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,382 questions
asked 2024-04-28T01:44:47.1666667+00:00
Konstantinos Pavlis 0 Reputation points
commented 2024-04-29T09:18:15.2066667+00:00
Junjie Zhu - MSFT 15,756 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Alternatives for the application to make it as a packaged application?

Hi, I am currently building a WinUI3 C++ application using Windows App SDK. But currently the application is unpackaged mode. I am currently thinking to shift to packaged mode as it is recommended by the Microsoft currently I have tried the sample…

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.
731 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,562 questions
asked 2024-03-13T04:17:56.3366667+00:00
Rohan Pande 315 Reputation points
commented 2024-04-26T00:06:10.75+00:00
Matthew Bonanno 1 Reputation point
1 answer One of the answers was accepted by the question author.

Launching Windows Applications using Voice Assistants

Is there an alternative to Cortana on Windows that I can use to launch my applications using a voice command like "Open Abc App"? I have come across an application named "Voice Access," but I can't find any documentation on how to use…

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.
731 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,448 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,562 questions
asked 2024-04-24T06:38:51.75+00:00
Rohan Pande 315 Reputation points
accepted 2024-04-24T10:26:24.1966667+00:00
Rohan Pande 315 Reputation points
1 answer

Does Media Foundation interface IAudioMeterInformation supports audioformat MFAudioFormat_Float?

Hello, I'm working on a XAudio2 project. When loading a file, I convert the input audio format to an input format XAudio2 can work with. Those are, according the docs, MFAudioFormat_Float and MFAudioFormat_PCM. Now, when using PCM, …

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.
731 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,418 questions
asked 2024-04-09T19:52:55.07+00:00
FactoryX.code 0 Reputation points
answered 2024-04-24T03:00:20.34+00:00
Xiaopo Yang - MSFT 11,581 Reputation points Microsoft Vendor
1 answer

Some doubts regarding after registering for WinUI3 packaged with external location app?

Hi, I was earlier creating a WinUI3 blank unpackaged app. Followed the steps here to make my solution from packaged to unpackaged application. In this project I have disabled the XAML code and created my own entry point (WinMain). Steps that I have…

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.
731 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,562 questions
asked 2024-04-18T11:28:49.1633333+00:00
Rohan Pande 315 Reputation points
answered 2024-04-22T08:11:31.49+00:00
Xiaopo Yang - MSFT 11,581 Reputation points Microsoft Vendor
1 answer

Keep lines, ellipses and polylines at the same position within an image during resizing (WinUI3)

Hello, Is there an easy way to achieve it in WinUI3? I have an image within a grid that is resizable manually and there are ellipses, lines and polylines which mark positions in the image. <Grid> <Image…

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.
731 questions
asked 2024-04-18T22:09:16.7866667+00:00
youki 996 Reputation points
edited an answer 2024-04-20T23:15:16.3366667+00:00
youki 996 Reputation points
1 answer One of the answers was accepted by the question author.

Inconsistent behaviour of windows App SDK runtime Installer

Hi, I'm working on WinUI3 desktop application in C++. We are building a Framework dependent unpackaged desktop application with this we were able to generate a single EXE application. But here to run this WinUI3 application we need to install Windows App…

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.
731 questions
asked 2024-04-05T12:30:42.7066667+00:00
Harshithraj1871 1,496 Reputation points
accepted 2024-04-17T11:43:45.3466667+00:00
Harshithraj1871 1,496 Reputation points
1 answer One of the answers was accepted by the question author.

Understanding Windows app tamper protection

Hi, I'm working on a WinUI3 desktop application in CPP. I'm building an application packaged with external location. There I read that What does tamper protection mean here? Does it mean it wont allow us to tamper with application's data and files? 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.
731 questions
asked 2024-04-16T09:52:20.51+00:00
Harshithraj1871 1,496 Reputation points
commented 2024-04-17T07:29:37.8666667+00:00
Harshithraj1871 1,496 Reputation points
1 answer One of the answers was accepted by the question author.

How do I download "Windows Media Device Manager 11 SDK" ?

Hi, I'm developing a device management application. I want to download "Windows Media Device Manager 11 SDK". https://learn.microsoft.com/en-us/windows/win32/wmdm/windows-media-device-manager-11-sdk But download link is broken. How do 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.
731 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,448 questions
asked 2024-04-12T21:35:45.11+00:00
yukin y 20 Reputation points
commented 2024-04-15T12:18:39.2466667+00:00
yukin y 20 Reputation points