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

Sort by: Updated
1 answer

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,028 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.
644 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,735 questions
asked 2024-04-19T11:03:22.1966667+00:00
Luke Ferguson 41 Reputation points
edited the question 2024-06-29T09:29:16.8166667+00:00
Luke Ferguson 41 Reputation points
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)
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,552 questions
asked 2024-06-28T08:17:01.82+00:00
Tom JD1 Xue 21 Reputation points
edited the question 2024-06-28T12:16:16.6833333+00:00
Jiale Xue - MSFT 41,976 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,028 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,559 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,552 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-06-28T10:13:12.27+00:00
Prem Kumar S 0 Reputation points
edited the question 2024-06-28T10:30:16.4833333+00:00
Prem Kumar S 0 Reputation points
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.
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,552 questions
asked 2024-06-25T01:56:14.0933333+00:00
C CB 85 Reputation points
accepted 2024-06-27T01:15:19.66+00:00
C CB 85 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,552 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

App testing error

Hello, I attached my app with Windows Store (using option in VS). Next, I made a package. Next, I try to validate It (runing test in VS). I get such error. How to solve such problem. I think that my app is already signed, and I dont know how to sign it…

Universal Windows Platform (UWP)
asked 2024-06-24T19:28:11.2266667+00:00
BitSmithy 1,951 Reputation points
edited a comment 2024-06-26T10:06:55.86+00:00
Junjie Zhu - MSFT 16,391 Reputation points Microsoft Vendor
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,721 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.
743 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,391 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.
780 questions
asked 2024-06-12T19:09:25.5566667+00:00
Anderson Rodrigues Cavalcante 291 Reputation points
commented 2024-06-25T11:50:25.8566667+00:00
Anderson Rodrigues Cavalcante 291 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,028 questions
Universal Windows Platform (UWP)
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,735 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,951 Reputation points
commented 2024-06-24T09:00:05.38+00:00
Junjie Zhu - MSFT 16,391 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
0 answers

PSA Universal print class driver, how to get a job status for the Universal print job? can we contact the printer using printer-uri?

How to get a job status for the Universal print job from UWP app?. Can we contact the printer using printer-uri? Please note that get printer attributes don't have any valid Printer IP. We can able to get the printer attributes, Is there anyway can we…

Universal Windows Platform (UWP)
asked 2024-06-20T13:23:56.28+00:00
Arunachalam, Senthil (External) 20 Reputation points
commented 2024-06-21T09:30:33.6533333+00:00
Junjie Zhu - MSFT 16,391 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Queue.Enqueue and IndexOutOfRangeException

I have been chasing a strange occasional IndexOutOfRangeException for a while and pinned it on the following line: myQueue.Enqueue(myObject) where: protected Queue<MyObject> myQueue{ get; set; } I don't know how this is possible. The stack…

Universal Windows Platform (UWP)
asked 2024-06-12T09:24:45.5533333+00:00
Hong 1,206 Reputation points
accepted 2024-06-20T10:56:26.7933333+00:00
Hong 1,206 Reputation points
0 answers

how to specify WiFiDirect band

I want to create a WiFi Direct go in 5G band using WinRT WifiDirect API with 5G band, but i can't find related api to specify the Wifi Direct Band. I notice that the Mobile hotspot function which provided by window 11(Settings->Network &…

Universal Windows Platform (UWP)
asked 2024-02-27T08:36:39.0433333+00:00
Xiaojie Ma 0 Reputation points
edited a comment 2024-06-18T09:34:25.75+00:00
Xiaojie Ma 0 Reputation points
0 answers

How to Utilize SetColor(Windows::UI::Colors::Red) from a Non-UWP and Non-C++/WinRT DLL File

Hi, I have developed a C++ DLL without utilizing UWP or C++/WinRT. Within this DLL, I am employing Windows::Devices::Lights::LampArray^ lamp to retrieve information about the lamp, such as lamp->IsConnected, lamp->LampCount, and…

Universal Windows Platform (UWP)
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,607 questions
asked 2024-06-16T19:14:55.05+00:00
sunil maurya 21 Reputation points
edited a comment 2024-06-17T09:52:58.8666667+00:00
Junjie Zhu - MSFT 16,391 Reputation points Microsoft Vendor
1 answer

VirtualizingStackPanel Scrollviewer height

I am working a uwp app where i used ListView with VirtualizingStackPanel . In my case i am trying create an alternatives for CVS ListView so each item has a ItemsControl (choosen this because it consume less memory and ScrollViewer). Now if i want…

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,552 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-05-22T06:12:58.1066667+00:00
shriram 90 Reputation points
commented 2024-06-14T01:45:54.5066667+00:00
Junjie Zhu - MSFT 16,391 Reputation points Microsoft Vendor
0 answers

Occasional "System.Exception: OpenClipboard Failed (Exception from HRESULT: 0x800401D0)"

An app occasionally throws the following exception: System.Exception: OpenClipboard Failed (Exception from HRESULT: 0x800401D0) Stack Trace: at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x21 at…

Universal Windows Platform (UWP)
asked 2024-06-13T08:40:09.66+00:00
Hong 1,206 Reputation points
commented 2024-06-13T17:56:28.36+00:00
Hong 1,206 Reputation points
1 answer

RenderTargetBitmap renders low quality image of the UIElement

Hi, I have a Xamarin.Forms application deployed in UWP, in which I have added Xamarin.Forms.Image to the page and trying to convert the UIElement to image using RenderTargetBitmap, the converted image quality is reduced. Again I have added the converted…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,318 questions
Universal Windows Platform (UWP)
asked 2023-01-17T14:53:16.2+00:00
Imman Kumar 6 Reputation points
commented 2024-06-13T08:12:21.0333333+00:00
Castorix31 82,661 Reputation points
0 answers

Use same VisualStateGroup in all different ListViewItem style

Hello everyone. I'd like to make my VisualStateGroup unique for all ListViewItem, so that any ListViewItem style, even different, can use the same VisualStateGroup, without repeating in the ListViewItem style. Declare the VisualStateGroup once and all…

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,552 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-06-07T09:38:18.44+00:00
Anderson Rodrigues Cavalcante 291 Reputation points
edited a comment 2024-06-12T19:02:20.54+00:00
Anderson Rodrigues Cavalcante 291 Reputation points