2,870 questions with Universal Windows Platform (UWP) tags

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

Visual Studio 2022 community crashes

Hello, I'm making my uwp app on c# with vs2022 community version. When I click "Visual assets" tab on Package.appxmanifest, the VS2022 crashes. How to reproduce: create an empty app (c# uwp) open Package.appxmanifest on for all visual…

Universal Windows Platform (UWP)
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,748 questions
asked 2024-06-03T10:37:38.8966667+00:00
jaekwon lee 20 Reputation points
accepted 2024-06-04T11:33:04.9033333+00:00
jaekwon lee 20 Reputation points
1 answer One of the answers was accepted by the question author.

how to create a uwp button control

I want to know how to create a uwp button control. I use this thread to test AI feature on Microsoft Q&A.

Universal Windows Platform (UWP)
asked 2024-06-04T09:29:05.3366667+00:00
Amy Peng-MSFT 251 Reputation points Microsoft Employee
accepted 2024-06-04T09:31:36.86+00:00
Amy Peng-MSFT 251 Reputation points Microsoft Employee
0 answers

The narrator focuses on the checkbox if I don't use a button. the requirement is narrator narrates in an orderly. what is better approach any sample code with textblock?

Universal Windows Platform (UWP)
asked 2024-06-03T12:25:33.4933333+00:00
Abid Md 0 Reputation points
commented 2024-06-04T03:51:01.29+00:00
Junjie Zhu - MSFT 16,146 Reputation points Microsoft Vendor
0 answers

To maintain focus, I utilized a button. However, I prefer that the narrator refrains from vocalizing the term "button" during the reading. Is there a solution to achieve this?

The narrator focuses on the checkbox if I don't use a button. the requirement is narrator narrates in an orderly. what is better approach any sample code with textblock?

Universal Windows Platform (UWP)
asked 2024-06-03T09:23:05.3166667+00:00
Abid Md 0 Reputation points
commented 2024-06-04T03:02:29.3466667+00:00
Junjie Zhu - MSFT 16,146 Reputation points Microsoft Vendor
0 answers

pdb file was not present when IL code was compiled to native in vs2022

I have installed 3 new nugets to my project. After installing everything works fine in Android and ios (in release and debug modes). But in Xamarin.Forms.UWP (debug mode is fine). In release mode getting the below exception.. myproject.pdb contains the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,311 questions
Universal Windows Platform (UWP)
asked 2024-06-03T16:02:16.8133333+00:00
Sk 61 Reputation points
commented 2024-06-04T02:20:07.79+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,266 Reputation points Microsoft Vendor
1 answer

How to Setup the Microsoft IPP Driver for the printer support app.?

Hi, I am trying to develop the PSA application with Microsoft IPP Driver can you guide me in setting up the Driver for the printer. PSA extensions: <Extensions> <printsupport:Extension Category="windows.printSupportWorkflow"…

Universal Windows Platform (UWP)
Windows Driver Kit (WDK)
Windows Driver Kit (WDK)
A set of Microsoft tools that are used to develop, test, and deploy Windows drivers.
30 questions
asked 2024-06-03T06:42:17.1133333+00:00
Pegasus Admin 0 Reputation points
answered 2024-06-03T23:17:02.9933333+00:00
Manu M 0 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Bluetooth LE - BluetoothLEDevice.FromBluetoothAddressAsync returns null after UnpairAsync() is called until the peripheral is power cycled or the RPA rolls over

Greetings Here are the reproduction steps for this bug. I have an Ellisys trace and logs gathered using WPR that I don't want to post publicly, but can share with someone from MS. Pair a Bluetooth LE peripheral with windows. Observe that a new…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,924 questions
Universal Windows Platform (UWP)
.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,135 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,589 questions
asked 2024-05-23T02:26:12.08+00:00
EricP-8687 80 Reputation points
accepted 2024-05-31T18:05:14.6566667+00:00
EricP-8687 80 Reputation points
1 answer One of the answers was accepted by the question author.

"Remove Unused References" unavailable for UWP projects

I have enabled "Remove Unused References" but the context menu of a UWP app project does not have the option: Could anyone shed some light on this?

Universal Windows Platform (UWP)
asked 2024-05-30T23:35:05.0633333+00:00
Hong 1,186 Reputation points
accepted 2024-05-31T03:10:36.7966667+00:00
Hong 1,186 Reputation points
1 answer

Get Hwnd of swapchainpanel in UWP Application

I have a UWP App that uses a C++ API to render videos. The C++ API takes IntPtr of panel where we need to render the video as input. In Winforms, I can directly pass a panel's Handle where the video will be rendered. How can I do the same in UWP. I am…

Universal Windows Platform (UWP)
asked 2021-10-12T08:29:59.903+00:00
vaishali sharma 21 Reputation points
commented 2024-05-30T18:09:51.2766667+00:00
AnnPeter 0 Reputation points
1 answer

Authenticate the Azure App Services with the Microsoft Entra ID in UWP app

Hi, We are utilizing Azure App Services for our Azure Mobile Apps table in the UWP apps. Our mobile apps currently access the Mobile Apps table with anonymous access level via Azure App Services. However, we have decided to enhance the security of our…

Universal Windows Platform (UWP)
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,134 questions
asked 2024-05-07T11:21:15.8866667+00:00
Petchiammal Rajumayandi 61 Reputation points
edited the question 2024-05-30T04:10:16.66+00:00
Givary-MSFT 29,171 Reputation points Microsoft Employee
0 answers

I only have 1 problem with my uwp web browser app I have this message that pops up every time I go to debug, release, run the app on visual studio 2022

I only have 1 problem with my uwp web browser app I have this message that pops up every time I go to debug, release, run the app when I click close in blue it works fine on visual studio 2022 Specified argument was out of the range of values. parameter…

Universal Windows Platform (UWP)
asked 2024-05-27T14:39:27.3233333+00:00
Luke Ferguson 41 Reputation points
edited a comment 2024-05-30T03:06:18.9066667+00:00
Junjie Zhu - MSFT 16,146 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

GridView items spacing code behind, in CreatePrintPreviewPages event handler

Hello, I am trying to remowe space between GridView items code behind. I do it when I create print preview pages. I cooked such code: ... GridView printPageGridView = new GridView(); List<FrameworkElement> printPreviewPages = new…

Universal Windows Platform (UWP)
asked 2024-05-24T09:15:44.76+00:00
BitSmithy 1,951 Reputation points
accepted 2024-05-27T08:50:23.4466667+00:00
BitSmithy 1,951 Reputation points
1 answer

What are all the different types of maps styles

What are all the different types of map…

Universal Windows Platform (UWP)
Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
624 questions
Windows Maps
Windows Maps
A Microsoft app that provides voice navigation and turn-by-turn driving, transit, and walking directions.
253 questions
asked 2024-05-24T15:34:29.9166667+00:00
Luke Ferguson 41 Reputation points
edited an answer 2024-05-24T17:23:42.5333333+00:00
rbrundritt 16,046 Reputation points Microsoft Employee
0 answers

Error uploading UWP app to Microsoft Store: Microsoft.VCLibs.140.00.UWPDesktop version mismatch

I encountered this error while uploading my UWP app to the Microsoft Store. The error message reads: 'Your package Microsoft.VCLibs.140.00.UWPDesktop specifies version 14.0.33728.0, but 14.0.24217.0 is the minimum available version.' Could someone help…

Universal Windows Platform (UWP)
asked 2024-05-22T08:13:34.43+00:00
Henry-6115 66 Reputation points
commented 2024-05-24T13:47:03.16+00:00
Premiaware di Luca Borriero 31 Reputation points
0 answers

Win11上利用PhoneLineTransportDevice::ConnectAsync 与手机连接后来电会有个空界面

Win11上利用PhoneLineTransportDevice::ConnectAsync 与手机连接后拨打电话会起来个空界面 而在win10上会有个拨打电话会有个通话的页面。 为什么win11和win10上会有差别?

Universal Windows Platform (UWP)
asked 2024-05-23T08:04:05.8933333+00:00
栩 王 0 Reputation points
commented 2024-05-24T09:11:13.1966667+00:00
Junjie Zhu - MSFT 16,146 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Note in XAML

Hello, I need to add to Canvas or other Panel an Info Property. This property shoud be a string. But I dont want to create a new class wchich derives from Canvas. Can I solve this task in any way.

Universal Windows Platform (UWP)
asked 2021-04-26T08:17:55.677+00:00
BitSmithy 1,951 Reputation points
accepted 2024-05-24T08:44:55.6066667+00:00
BitSmithy 1,951 Reputation points
1 answer One of the answers was accepted by the question author.

Community toolkit DataGrid ColumnHeader background

Hello, I am styling DataGrid Columns with such style <Color x:Key="MyColumnHeaderBackgroundColor">AliceBlue</Color> <StaticResource x:Key="DataGridColumnHeaderBackgroundColor"…

Universal Windows Platform (UWP)
asked 2024-05-23T10:34:58.8566667+00:00
BitSmithy 1,951 Reputation points
accepted 2024-05-24T08:26:27.2966667+00:00
BitSmithy 1,951 Reputation points
1 answer One of the answers was accepted by the question author.

Setting CheckBox as UWP DataGrid column header during AutoGeneratingColumn

Hello, I want to set Community Toolkit DataGrid column header as CheckBox. I want to do it in AutoGeneratingColum event. I am trying such code: private void AutoGeneratingColumn(object sender, DataGridAutoGeneratingColumnEventArgs e) {…

Universal Windows Platform (UWP)
asked 2024-05-22T14:42:09.97+00:00
BitSmithy 1,951 Reputation points
accepted 2024-05-23T09:28:26.4033333+00:00
BitSmithy 1,951 Reputation points
0 answers

Deeplinks using app URI handlers does not open the app

We have followed https://learn.microsoft.com/en-us/windows/uwp/launch-resume/web-to-app-linking#register-to-handle-http-and-https-links-in-the-app-manifest to enable deep linking into our app. However, we can't seem to get it to work. We've made sure …

Universal Windows Platform (UWP)
asked 2024-05-23T06:52:55.9566667+00:00
Michal Šrůtek 0 Reputation points
commented 2024-05-23T09:11:10.4466667+00:00
Junjie Zhu - MSFT 16,146 Reputation points Microsoft Vendor
0 answers

PrintTaskOptions throws Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

Hi Team, We are trying to invoke a print preview from the stream of PDF documents. While invoking the print preview we are receiving Catastrophic failure from the PrintTaskOptions while creating print preview pages. We have tried the following methods…

Universal Windows Platform (UWP)
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.
777 questions
asked 2024-02-15T13:13:31.89+00:00
ManojKumar 0 Reputation points
commented 2024-05-23T08:05:49.5366667+00:00
Roy Li - MSFT 32,721 Reputation points Microsoft Vendor