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

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

How to remove the clear button at the end of the TextBox in WinUI3

If the TextBox is getting focus and there chars it, there will be a X button appear, so how to remove or hidden the button.

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.
751 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.
790 questions
asked 2024-07-10T09:52:42.2533333+00:00
C CB 150 Reputation points
commented 2024-07-12T02:25:08.8866667+00:00
C CB 150 Reputation points
1 answer

Push notification http response status code 500

Hello, in the past two hours, we have discovered a large number of 500 errors occurring when using WNS HTTP API for notification pushes. https://dm3p.notify.windows.com/?token={myToken} Could you please assist us in investigating this issue? Below are…

Universal Windows Platform (UWP)
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
318 questions
asked 2024-07-09T07:43:33.26+00:00
景轩 王 30 Reputation points
edited the question 2024-07-11T12:09:15.07+00:00
ajkuma 24,971 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Change RadioButton Color in Combined States - WinUI/UWP

Hello. I'm trying to change the radio button color according to combined states: CheckedPressed, UncheckedPressed, CheckedPointerOver, CheckedDisabled, UncheckedDisabled. How can I do that? I added these states but didn't work.

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.
790 questions
asked 2024-07-01T19:15:42.5766667+00:00
Anderson Rodrigues Cavalcante 316 Reputation points
accepted 2024-07-09T11:38:32.19+00:00
Anderson Rodrigues Cavalcante 316 Reputation points
0 answers

C++WinRT does not correctly handles Chinese characters using Windows.Foundation.Uri

I have a uri with Chinese character and query string that needs to be parsed with Windows.Foundation.Uri. Using C++WinRT, it always returns me an empty result. But equivalent C# code does returns me expected result. I have tried changing the file…

Universal Windows Platform (UWP)
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,645 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,635 questions
asked 2024-07-08T17:57:07.7366667+00:00
peter li 1 Reputation point
commented 2024-07-09T05:37:38.63+00:00
Junjie Zhu - MSFT 16,701 Reputation points Microsoft Vendor
1 answer

How to sign a UWP app with an EV Code Signing Certificate

Hello, We have a UWP app that we want to distribute through side loading. In order to distribute it without a self signed certificate, we went ahead and bought an EV code signing certificate. We cannot export the EV code signing certificate as a…

Universal Windows Platform (UWP)
asked 2022-12-13T10:42:07.777+00:00
Gavam Atarix Ltd 6 Reputation points
commented 2024-07-09T04:47:24.85+00:00
Sadev Kalubowila 10 Reputation points
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,885 questions
asked 2024-06-03T10:37:38.8966667+00:00
jaekwon lee 25 Reputation points
commented 2024-07-07T22:01:36.03+00:00
David Schmidt 0 Reputation points
0 answers

Is there a manual bible for learning about visual studio community 2022 c# uwp on coding

Is there a manual bible for learning about visual studio community 2022 c# uwp on coding

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,193 questions
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.
664 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,984 questions
asked 2024-07-04T05:13:19.4133333+00:00
Luke Ferguson 36 Reputation points
commented 2024-07-05T08:44:12.8133333+00:00
Junjie Zhu - MSFT 16,701 Reputation points Microsoft Vendor
0 answers

Switching Between System Power Saving Mode in UWP app ,makes the app non-responded for a while

My UWP app was not responding for sometime, when switching between power Saving mode(windows settings) while App was running. To Reproduce the issue , Run the app Open Windows System Battery Settings -> Enable/Disable Power Saving Mode Now try to…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,193 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,647 questions
Universal Windows Platform (UWP)
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,645 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.
790 questions
asked 2024-06-28T10:13:12.27+00:00
Prem Kumar S 0 Reputation points
commented 2024-07-03T08:06:32.83+00:00
Junjie Zhu - MSFT 16,701 Reputation points Microsoft Vendor
0 answers

How do I make a uwp app like bom on visual studio 2022

How do I make a uwp app like bom on visual studio 2022 [http://www.bom.gov.au/]

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,193 questions
Universal Windows Platform (UWP)
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,984 questions
asked 2024-07-03T02:44:03.4733333+00:00
Luke Ferguson 36 Reputation points
commented 2024-07-03T03:45:38.03+00:00
Junjie Zhu - MSFT 16,701 Reputation points Microsoft Vendor
0 answers

How to make UWP MediaElement to be loop mode when casting to a TV?

I find that when using UWP MediaElement (component name: video), it works well to be in loop mode when set as below: video.IsLooping = true; // method 1 video.MediaEnded -= Video_MediaEnded; video.MediaEnded += Video_MediaEnded; // method 2 private…

Universal Windows Platform (UWP)
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 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,645 questions
asked 2024-06-28T08:17:01.82+00:00
Tom JD1 Xue 21 Reputation points
commented 2024-07-03T02:34:45.64+00:00
Tom JD1 Xue 21 Reputation points
2 answers

What different other types of Azure maps are there for a Hybrid aerial view with roads and a search bar with more functions like google earth on visual studio 2022

What other different types of Azure maps are there for a Hybrid aerial view with roads and a search bar with more functions like google earth on visual studio 2022

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,193 questions
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.
664 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,984 questions
asked 2024-04-19T11:03:22.1966667+00:00
Luke Ferguson 36 Reputation points
edited an answer 2024-07-02T14:28:07.8833333+00:00
rbrundritt 16,551 Reputation points Microsoft Employee
0 answers

Windows是否有监听蓝牙配对请求的方式

pc蓝牙与手机配对连接过,但在某一个时刻用户将手机的蓝牙解除配对了,此时pc上要使用蓝牙连接需要先配对,此时是否有接口可以知道有这个配对的请求?

Universal Windows Platform (UWP)
asked 2024-07-02T07:39:33.7633333+00:00
栩 王 0 Reputation points
commented 2024-07-02T08:48:27.6966667+00:00
Junjie Zhu - MSFT 16,701 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

In UWP or WinUI3, how to use AutoSuggestBox as the search box and highlight the matching keywords in red in the search result list

AutoSuggestBox is a good control in WinUI3. I use it as a search box and display search results. But how to achieve more advanced functions, such as highlighting keywords in the results ( ex, one of the result is 'powered by Microsoft', and only…

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.
751 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,645 questions
asked 2024-06-25T01:56:14.0933333+00:00
C CB 150 Reputation points
accepted 2024-06-27T01:15:19.66+00:00
C CB 150 Reputation points
0 answers

Set cover image to MediaPlayerElement in C# uwp for audio files

In my C# uwp project, i want to set a cover image to my MediaPlayerElement object, when an mp3 (or other audio file) loaded. I have tried the PosterSource property, but after i have been loaded a file in my mediaplayer, the postersource disappeared. I…

Universal Windows Platform (UWP)
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,645 questions
asked 2024-06-14T13:43:15.85+00:00
Tamás Bitó 20 Reputation points
commented 2024-06-26T20:17:45.98+00:00
Milija Ivovic 0 Reputation points
1 answer

UWP NavigationView Selected Item as CommandParameter in MVVM Community Toolkit

UWP/XAML experts , How to set the selecteditem tag value as the CommandParameter in NavigationView SelectionChanged? Using community MVVM toolkit here. In example below the tag value is 3456 and would change dynamically . CommandParameter="{Binding…

Universal Windows Platform (UWP)
asked 2024-06-25T04:49:47.9033333+00:00
DotNET Fan 191 Reputation points
commented 2024-06-26T06:55:09.99+00:00
Roy Li - MSFT 32,731 Reputation points Microsoft Vendor
1 answer

Setup app for website without using msix installer (e.g. using .exe installer)

Our application supports apps for websites using app URI handlers. However some older computers or domain computers with certain policies cannot install apps packaged in msix installer. Is there a way to register your app to handle links…

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.
751 questions
asked 2024-06-19T08:18:31.33+00:00
alberto 0 Reputation points
answered 2024-06-26T06:08:56.1466667+00:00
Junjie Zhu - MSFT 16,701 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Change Grid Margin Using Visual State | UWP, WinUI3

I have a grid inside a Style. If this grid has a width > 640 I'd like to change its background for red. If the grid width <= 640 I'd like to change the background for yellow. How can I do it only using xaml, without code behind? Obs: It is the grid…

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.
790 questions
asked 2024-06-12T19:09:25.5566667+00:00
Anderson Rodrigues Cavalcante 316 Reputation points
commented 2024-06-25T11:50:25.8566667+00:00
Anderson Rodrigues Cavalcante 316 Reputation points
1 answer

Integrating a new child UWP exe/app in an existing parent UWP app

How can I integrate a new status updater app, which should be part of an existing parent UWP app project and package? The new status updater app will use WinUI libs and UWP xaml libs and be part of the UWP app store app. The parent UWP app should…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,193 questions
Universal Windows Platform (UWP)
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,984 questions
asked 2024-06-01T08:02:20.1466667+00:00
DotNET Fan 191 Reputation points
commented 2024-06-25T03:57:43.9733333+00:00
DotNET Fan 191 Reputation points
0 answers

Using Nuget Package in runtime library

Hello, I have a runtime library, where I have some classes which I use in my apps. One class in the library uses nuget package. I compile the library and attach to my app. Next I try to use the class in the app in Page Loadded event which such…

Universal Windows Platform (UWP)
asked 2024-06-04T08:46:13.94+00:00
BitSmithy 1,976 Reputation points
commented 2024-06-24T09:00:05.38+00:00
Junjie Zhu - MSFT 16,701 Reputation points Microsoft Vendor
1 answer

Access Denied When Using StorageProviderSyncRootManager

if (StorageProviderSyncRootManager.IsSupported()) { var syncRoots = StorageProviderSyncRootManager.GetCurrentSyncRoots(); foreach(StorageProviderSyncRootInfo syncRootInfo in syncRoots) { var cloudStorageItem = new DriveItem() …

Universal Windows Platform (UWP)
asked 2020-11-05T17:12:37.173+00:00
Luke Blevins 6 Reputation points
commented 2024-06-23T16:42:08.5966667+00:00
Daniel Troyano 0 Reputation points