743 questions with Windows App SDK tags

Sort by: Updated
0 answers

To have a CustomPage instead of default Page for base of all pages in the application.

Instead of having the base Page for all the xaml page files, I need to have my CustomPage.xaml. I have created a CustomPage and had it as a base of my SettingsPage.xaml. It compiles successfully but throws a warning. Please check the code follows, using…

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.
743 questions
asked 2024-03-28T12:50:59.9466667+00:00
guess_me_if_u_can 126 Reputation points
commented 2024-04-09T02:18:24.1533333+00:00
Roy Li - MSFT 32,721 Reputation points Microsoft Vendor
0 answers

Transition not working correctly in ListView and GridView (WinUI 3)

Hello, the transitions in a bound ListView and GridView are not working correctly, can you confirm this? (It is unchecked and uncoordinated, items are not added in order, especially when you reload them?) <ListView.ItemContainerTransitions> …

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.
743 questions
asked 2024-03-20T11:15:31.2233333+00:00
youki 1,016 Reputation points
commented 2024-04-09T02:18:11.79+00:00
Roy Li - MSFT 32,721 Reputation points Microsoft Vendor
1 answer

Change image source in contentdialog title template winui c#

Dear everybody. Using Microsoft Visual Studio Community 2022 (64 bits) - Current Versión 17.9.3 on Windows 10 most recent update, Packaged WinUI with C# I am programming from scratch a new program (WinUI with C#) to manage my motorized telescope. I have…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,807 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.
743 questions
asked 2024-03-19T17:38:21.8233333+00:00
Paul Harvey Chiverton Messina 5 Reputation points
commented 2024-04-09T02:17:57.9133333+00:00
Roy Li - MSFT 32,721 Reputation points Microsoft Vendor
1 answer

Serialdevice winui c# fire event when data received

Dear everybody. Using Microsoft Visual Studio Community 2022 (64 bits) - Current Versión 17.9.3 on Windows 10 most recent update, Packaged WinUI with C# I am programming from scratch a new program (WinUI with C#) to manage my motorized telescope and I am…

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.
743 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,551 questions
asked 2024-03-19T10:44:13.14+00:00
Paul Harvey Chiverton Messina 5 Reputation points
commented 2024-04-09T02:17:29.2233333+00:00
Roy Li - MSFT 32,721 Reputation points Microsoft Vendor
0 answers

Is there a way to find the DownLoad folder programmatically?

You know, where remote systems put things when they don't give you a chance to tell them where to put them, The Environment.SpecialFolders enum doesn't see to have one,

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.
743 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,745 questions
asked 2024-03-16T20:19:05.3966667+00:00
Marc Graham 26 Reputation points
commented 2024-04-09T02:17:13.18+00:00
Roy Li - MSFT 32,721 Reputation points Microsoft Vendor
1 answer

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.
743 questions
asked 2024-03-05T07:39:10.5733333+00:00
Brij 0 Reputation points
commented 2024-04-09T02:16:31.29+00:00
Roy Li - MSFT 32,721 Reputation points Microsoft Vendor
1 answer

Listview selection event event is firing when we click on scroll viewer

Hi Team, i am win ui3 application using windows app sdk version - 1.4.240 I have "list view" inside the "scroll viewer" control . List view - has selection changed event Problem : when i click on the scroll viewer, List view selection…

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.
743 questions
asked 2024-04-05T06:37:57.6+00:00
Sunil A M 171 Reputation points
answered 2024-04-08T03:14:10.3933333+00:00
Xiaopo Yang - MSFT 12,071 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Package missing in offline source

Microsoft.Windows.SDK.NET.Ref Microsoft.AspNetCore.App.Runtime.win-x64 Microsoft.WindowsDesktop.App.Runtime.win-x64 Microsoft.NETCore.App.Runtime.win-x64 so i am new to winui and i just installed the required things for winui desktop i installed…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,807 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.
743 questions
asked 2024-04-03T15:44:17.9166667+00:00
Emmanuel James 20 Reputation points
edited a comment 2024-04-04T11:44:45.28+00:00
Emmanuel James 20 Reputation points
0 answers

Exception thrown when calling async task on Winui C#

Dear everybody. Using Microsoft Visual Studio Community 2022 (64 bits) - Current Versión 17.9.3 on Windows 10 most recent update, Packaged WinUI with C# I am programming from scratch a new program (WinUI with C#) to manage my motorized telescope and I am…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,807 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.
743 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,551 questions
asked 2024-03-21T18:06:44.23+00:00
Paul Harvey Chiverton Messina 5 Reputation points
commented 2024-04-04T08:22:57.43+00:00
Roy Li - MSFT 32,721 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Best Practices for Two-Way Data Binding in Large .NET Applications

Hello Microsoft Q&A community, I’m working on a large-scale .NET application, and I’ve been using two-way data binding in my XAML views. However, I’ve heard that this approach can become problematic in large projects. I’d like to understand the best…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,562 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.
743 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.
780 questions
asked 2024-03-19T17:01:43.8666667+00:00
arunkumar.mr 20 Reputation points
accepted 2024-04-02T09:25:42.06+00:00
arunkumar.mr 20 Reputation points
1 answer

How to extract an icon from executable and save it on disk properly? Any lightweight library?

Is there something in c++? (Windows API/ WinRT) I've tried some solutions online and none of them work. I didn't find anything useful on Github either. I want to display the icons regardless of whether the exe is still there, so I want to save the icon;…

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.
743 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,491 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,608 questions
asked 2024-01-20T12:01:43.6833333+00:00
youki 1,016 Reputation points
edited a comment 2024-03-29T15:15:29.7633333+00:00
youki 1,016 Reputation points
1 answer One of the answers was accepted by the question author.

How to bind a button's command inside a data template in winUI3

I am working on a project using WinUI3. You want to create navigation in the Main Window and modify the Header with DataTemplate. How do I do the <button command="{binding}" within the data template at this time? <NavigationView…

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.
743 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,551 questions
asked 2024-03-08T06:38:16.55+00:00
차준혁 40 Reputation points
accepted 2024-03-19T02:13:53.0933333+00:00
차준혁 40 Reputation points
0 answers

Add immovable "Edit" button to ComboBox in WinUI 3

Is it possible to add a immovable button (item) to the ComboBox, maybe by custom XAML in the App.xaml like in the image? (As you can see, the button is immovable below the scrollable part of the ComboBox.) Regards

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.
743 questions
asked 2024-03-10T10:13:23.5033333+00:00
youki 1,016 Reputation points
commented 2024-03-16T13:42:40.84+00:00
youki 1,016 Reputation points
1 answer

Listing serial ports winui c# visual studio 2022

Dear everybody. Using Microsoft Visual Studio Community 2022 (64 bits) - Current Versión 17.9.3 on Windows 10 most recent update, Packaged WinUI with C# I am programming from scratch a new program (WinUI with C#) to manage my motorized telescope and I am…

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.
743 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,551 questions
asked 2024-03-13T11:06:18.64+00:00
Paul Harvey Chiverton Messina 5 Reputation points
commented 2024-03-15T01:44:20.1266667+00:00
Xiaopo Yang - MSFT 12,071 Reputation points Microsoft Vendor
1 answer

How to apply transitions in ItemsView on reload in WinUI 3?

I have an ItemsView and the transition gets applied when loading the items by a ViewModel but when I reload the ViewModel, there is no transition. <ItemsView…

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.
743 questions
asked 2024-03-13T16:26:29.3166667+00:00
youki 1,016 Reputation points
answered 2024-03-13T18:08:09.4433333+00:00
youki 1,016 Reputation points
0 answers

how to track down source of kernelbase.dll error (event ID 1000)

Hi, I have an app made in Windows App SDK. Lately however it seems to crash every 3-4 hours. I've tried to add logging everywhere but i have no clue how or why it crashes. It crashes randomly and in the event viewer it throws the following…

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.
743 questions
asked 2023-03-20T11:35:17.6166667+00:00
Mao Uyen Tram 126 Reputation points
edited a comment 2024-03-11T08:35:30.6633333+00:00
Ivan Stupak 0 Reputation points
1 answer

App package not installed in WinUI3???

Hello, I added a Packaging Project to my unpackaged WinUI 3 app and set the Packaging Project as Startup Project in VS 2022. I get the following error: DEP0800: The required framework "C:\Users\xxx\source\repos\cpp\UI_Test…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,807 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.
743 questions
asked 2024-03-02T02:24:38.6866667+00:00
youki 1,016 Reputation points
edited a comment 2024-03-07T23:00:00.8066667+00:00
youki 1,016 Reputation points
1 answer One of the answers was accepted by the question author.

How can I view HTML files in local on winUI as webView 2?

Hello, I have a simple problem. I want to work on the screen using the html file within the project using webView 2 in the win UI 3 project. The path of the local HTML file is shown in the following image.... In order to use webView 2, I wrote…

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.
743 questions
asked 2024-02-15T00:32:00.64+00:00
차준혁 40 Reputation points
accepted 2024-03-07T02:49:12.8833333+00:00
차준혁 40 Reputation points
1 answer

Use Windows App SDK and WinUI 3 to develop an ESim application,Can this be done?

Hello, I want to use Windows App SDK and WinUI 3 to develop an ESim application, download ESimProfile, enable Profile and other ESIM-related features. Can this be done?

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.
743 questions
asked 2024-03-06T02:47:10.72+00:00
Yaguang Ruan 20 Reputation points
commented 2024-03-06T08:18:53.23+00:00
Jeanine Zhang-MSFT 9,431 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

WinUI3: ToggleSwitch IsEnabled x:Bind does not work

Hi, Could anybody show me how to enable/disable ToggleSwitch from binding property. This is what I have done for testing: From xaml file: From code behind: 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.
743 questions
asked 2023-01-19T09:30:10.6266667+00:00
Minh Van 171 Reputation points
commented 2024-03-03T18:00:32.07+00:00
Luca Ziegler 6 Reputation points