807 questions with Windows App SDK tags

Sort by: Updated
2 answers

Issues with Rotating ProgressBar for Vertical Orientation In WinUI App

Hi, I am working on a custom StepBar control, and the Horizontal orientation is functioning as expected. However, I am encountering issues when implementing the Vertical orientation. Since the ProgressBar control does not have an Orientation property,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,034 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.
807 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.
11,186 questions
asked 2025-01-08T14:04:24.5533333+00:00
Mahdi Hosseini 155 Reputation points
answered 2025-01-12T00:26:10.57+00:00
Active Server 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.
807 questions
asked 2024-04-30T09:58:35.7133333+00:00
ankit verma 5 Reputation points
edited a comment 2025-01-09T03:06:34.6166667+00:00
nk 0 Reputation points
0 answers

ContentPresenter Content does not shown Correctly in a ItemsRepeater

Hi, i am creating a StepBar Control, in Vertical Orientation, and Left or Right DisplayMode (for Header Text), but ContentPresenter Content does not shown correctly. as you can see BasicInfo shown as BasicInf and UploadFile shown as UploadF. and this a…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,034 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.
807 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.
11,186 questions
asked 2025-01-06T21:20:40.16+00:00
Mahdi Hosseini 155 Reputation points
commented 2025-01-07T09:21:28.2+00:00
Mahdi Hosseini 155 Reputation points
1 answer One of the answers was accepted by the question author.

VisualState Only Changes Once in Custom Control WinUI/WASDK App

I am working with a custom control in a WinUI/WASDK App and trying to modify the Foreground or BorderBrush of some elements using the VisualStateManager. However, I am encountering an issue where the VisualState only changes once, and after that, I am…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,034 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.
807 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.
11,186 questions
asked 2025-01-05T13:07:12.5666667+00:00
Mahdi Hosseini 155 Reputation points
accepted 2025-01-06T17:23:11.7+00:00
Mahdi Hosseini 155 Reputation points
1 answer

Dialog box before launching of application in winui3 c++/winrt

I am working in winui3 c++/winrt and I need to show a dialog box just before the launch of my application The dialog box will say OK and Cancel on click of OK we launch the application and on cancel we exit. I tried a few approaches but it is giving…

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.
807 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,818 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.
826 questions
asked 2024-12-18T06:27:05.37+00:00
Vivek Rao 20 Reputation points
commented 2025-01-03T09:53:29.2666667+00:00
Vivek Rao 20 Reputation points
1 answer

WinUI3: How to print framework element using cpp

My app have to windows. Depending on which the print is called from we getting the actual hWnd. My issue is how to to get an instance of printManager or is there another way to print from winui 3? // file: MainWindow.xaml.cpp ... #include…

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.
807 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,818 questions
asked 2024-12-24T23:57:15.6233333+00:00
Jens Tirsvad Nielsen 0 Reputation points
commented 2025-01-03T02:33:25.23+00:00
Roy Li - MSFT 33,586 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

how to change the pointer cursor in winUI?

I am using winui3 how to change the pointer cursor.

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.
807 questions
asked 2023-09-21T06:31:27.35+00:00
mc 5,041 Reputation points
commented 2024-12-31T07:50:57.4666667+00:00
qingh2 0 Reputation points
2 answers One of the answers was accepted by the question author.

Starting a process in an AppContainer from a service (LOCAL_SYSTEM)

Hello, I am trying to run a process in an AppContainer. This process is created from a service, so is in session 0 running as LOCAL_SYSTEM. I have also tried CreateProcessAsUser to run it as LOCAL_SERVICE (also in session 0) and it doesn't work. …

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.
807 questions
asked 2021-09-17T10:25:50.1+00:00
Alex Crane 96 Reputation points
commented 2024-12-27T11:55:10.4566667+00:00
Ram 0 Reputation points
1 answer

An exception is given when trying to manipulate UI when the packageCatalogUninstalling event is triggered WinUI

Hello! I'm testing an application that uses PackageCatalog.Uninstalling event and i would like to change the UI when this event is triggered but when i try to do it an exception is given. I also tried with a dispatcher but received another error

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.
807 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.
826 questions
asked 2024-12-03T19:14:54.59+00:00
edited a comment 2024-12-19T12:07:06.4666667+00:00
Anderson Rodrigues Cavalcante 316 Reputation points
0 answers

USB Controller alert in Kinect for Windows

I cannot get my kinect to register as a sensor in any 3rd party program. 3d build will show image, but will only capture a image still not a video.

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.
807 questions
asked 2024-12-17T02:50:29.2766667+00:00
FireMedic541 0 Reputation points
commented 2024-12-17T06:26:50.23+00:00
Jeanine Zhang-MSFT 10,356 Reputation points Microsoft Vendor
1 answer

winui 3 FindAncestor

Hello: In Wpf , The below code in a page/usercontrol will get the property value from MainWindow Datacontext. <TextBlock Text="{Binding DataContext.Arr[2],RelativeSource={RelativeSource Mode=FindAncestor,…

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.
807 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.
11,186 questions
asked 2023-12-03T15:07:45.8366667+00:00
Simon Ong 21 Reputation points
commented 2024-12-16T16:51:53.13+00:00
Shimmy Weitzhandler 246 Reputation points
1 answer

How to add items to Windows 11 modern EXPLORER context menu using C#?

I'm developing a UWP program and want to associate a custom menu item with a specific file format and show it in the Windows 11 new version File Explorer context menu (first level menu). Is there such an API?And how to do this in winform?

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.
807 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.
11,186 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,406 questions
asked 2022-02-19T06:46:27.067+00:00
Jeffreyg1228 1 Reputation point
commented 2024-12-16T03:21:57.3233333+00:00
Les Ferch 46 Reputation points
4 answers

Dynamic Dependency Lifetime Manager

There was a problem with the Microsoft Windows App Runtime Dynamic Dependency Lifetime Manager. Please reinstall the application from its original installation location or contact your administrator.

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.
807 questions
asked 2024-11-15T16:23:34.2266667+00:00
Эмиль Белалов 45 Reputation points
answered 2024-12-08T11:46:31.3333333+00:00
Alex Marino 0 Reputation points
1 answer

WinUI 3 - How to Retrieve ActivatedEventArgs Multiple Times?

The documentation states that AppInstance.GetActivatedEventArgs this method will only return the arguments the first time it is called in an app. If a packed single-instanced WinUI 3 app is activated from a protocol multiple times, what approach can…

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.
807 questions
asked 2024-11-05T03:15:54.47+00:00
Lee Feng 161 Reputation points
edited the question 2024-12-03T02:30:10.38+00:00
Jack J Jun 24,626 Reputation points Microsoft Vendor
0 answers

MSIX WebView2 ExternalDependency failing to install/update.

We have an MSIX based application that we ship that depends on the Evergreen WebView2 installs, relying instead on the ExternalDependency support to ensure an evergreen install exists. Some of our users have reported that WebView2 fails to install…

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.
807 questions
asked 2024-11-25T19:45:25.7566667+00:00
Terry Meacham 0 Reputation points
commented 2024-12-02T17:33:15.1033333+00:00
TIMOTHY MANGAN 5 Reputation points
0 answers

System.NullReferenceException: 'Object reference not set to an instance of an object.' when navigating to page in WinUI

I am working with a WinUI project which is built based on the MVVM Toolkit template. When I use NavigationService.NavigateTo(typeof(EmployeeViewModel).FullName!); to navigate to EmployeePage, the program crashes with the bug that…

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.
807 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.
11,186 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.
826 questions
asked 2024-11-23T09:39:11.4333333+00:00
LÊ CAO TUẤN VŨ 0 Reputation points
commented 2024-11-28T01:32:38.5666667+00:00
Roy Li - MSFT 33,586 Reputation points Microsoft Vendor
0 answers

Error adding settings page in WinUI 3 MVVM app using Template Studio

I'm trying to add a settings page to my existing WinUI 3 app using Template Studio (With Navigation Bar) with the MVVM pattern. However, I'm encountering the following error: System.Exception: Error executing…

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.
807 questions
asked 2024-11-22T12:27:04.8366667+00:00
TUAN THANH VO 0 Reputation points
edited the question 2024-11-28T01:21:14.57+00:00
Jack J Jun 24,626 Reputation points Microsoft Vendor
0 answers

Seeking Feedback: Open-Source Solution for Stable Audio Device Identification on Windows

Hello everyone, I'm working on an open-source project to tackle a common issue with Windows audio devices, and I'd love to get your feedback. The Problem: As many of you might have experienced, Windows assigns device identifiers and friendly names to…

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,701 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.
807 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,704 questions
asked 2024-11-26T23:22:56.0566667+00:00
Brian Saville 21 Reputation points
commented 2024-11-27T01:45:57.3433333+00:00
Jeanine Zhang-MSFT 10,356 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Drag and drop in Win UI

Hi, I'm doing drag and drop in Win UI application, but I have a problem. In drag and drop there is only Data.SetStorageItems method. It accepts an IStorageItem with which I have no access to hidden files and shortcuts (only using file picker, but in my…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,952 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.
807 questions
asked 2024-11-05T15:20:14.6+00:00
123244 80 Reputation points
commented 2024-11-22T10:28:11.0266667+00:00
123244 80 Reputation points
1 answer One of the answers was accepted by the question author.

Does WinUI3 App support Miracast feature now?

Hi Microsoft team, I developed a UWP app to implement the screen mirror function with the Windows.Media.Miracast APIs. Now I want to migrate UWP to the WinUI 3 App(Windows App SDK), so I research how to migrate Miracast and find that WinUI 3 App didn't…

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.
807 questions
asked 2024-11-11T09:55:26.51+00:00
Zev Yang 20 Reputation points
accepted 2024-11-13T08:27:17.5166667+00:00
Zev Yang 20 Reputation points