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

Sort by: Updated
1 answer

How to change slider's thumb color

Hellow, I want to change slider's thumb color to red. I was traing to change slider templete on my own, but with my changess slider didint wont to move. So please tell me how to properly change slider's thumb color to RED. Below my slider: …

Universal Windows Platform (UWP)
asked 2024-10-18T10:01:05.1233333+00:00
BitSmithy 2,081 Reputation points
answered 2024-10-18T20:44:33.5466667+00:00
Castorix31 85,546 Reputation points
0 answers

[UWP] Change Lottie Animation Color / Theme Dynamically

I have used lottie json animation in xaml uwp using "CommunityToolkit.WinUI.Lottie" and "AnimatedVisualPlayer". But for dark theme I can not see the lottie animation as the color is fixed. How can we dynamically change color of…

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.
812 questions
asked 2024-09-30T07:38:02.08+00:00
Md. Niaz Mahmud 111 Reputation points
edited a comment 2024-10-18T09:18:26.2633333+00:00
Md. Niaz Mahmud 111 Reputation points
1 answer One of the answers was accepted by the question author.

Registry returns wrong value by UWP full trust process

In my UWP app I have a full trust WinForm process that provides system tray icon and full trust functionality such as working with Registry and File System. I noticed that the full trust process gets wrong Registry HKCU values - not the values I see in…

Universal Windows Platform (UWP)
asked 2024-10-17T22:10:58.84+00:00
60856927 66 Reputation points
accepted 2024-10-17T22:16:51.6333333+00:00
60856927 66 Reputation points
2 answers One of the answers was accepted by the question author.

How winrt::hstring manages memory and reference count while copying?

Hello, I want to understand how winrt::hstring manages memory when we copy hstring to another hstring. TextBlock tb; hstring label_copy; { hstring label = L"Sample text"; // Address: 0xA0 (assume) label_copy =…

Universal Windows Platform (UWP)
asked 2024-10-16T05:42:52.1833333+00:00
Shyam Butani 235 Reputation points
accepted 2024-10-17T05:03:08.56+00:00
Shyam Butani 235 Reputation points
2 answers

UWP app stays suspended after maximize

My UWP stays suspended even after user brings it to foreground. According to Microsoft docs it should resume from the suspension, but it doesn't. What can be the reason of such a weird behavior? https://imgur.com/a/knguaEV

Universal Windows Platform (UWP)
asked 2024-09-24T22:33:54.8066667+00:00
60856927 66 Reputation points
commented 2024-10-16T07:05:58.2533333+00:00
Junjie Zhu - MSFT 18,081 Reputation points Microsoft Vendor
1 answer

Rating popup take more time to open

in my app , i give an option for rating my app so on there i just navigate to microsoft store rating popup but it take more time to open.. if you have any trick as i can open fast. so please provide me. Thanks.

Universal Windows Platform (UWP)
asked 2024-10-11T06:53:51.3866667+00:00
Deepak Patel 40 Reputation points
answered 2024-10-16T06:27:59.46+00:00
Junjie Zhu - MSFT 18,081 Reputation points Microsoft Vendor
1 answer

Handling Appservice connections in a multiple instance of fulltrust process

Hello UWP experts, Please look at the below thread . This question is related to the thread. https://learn.microsoft.com/en-us/answers/questions/2087088/uwp-app-communication-with-another-process-(*-exe)?comment=question#newest-question-comment UWP app…

Universal Windows Platform (UWP)
asked 2024-10-15T10:24:46.31+00:00
DotNET Fan 211 Reputation points
answered 2024-10-16T03:21:04.72+00:00
Junjie Zhu - MSFT 18,081 Reputation points Microsoft Vendor
0 answers

Universal Windows Platform (UWP) API Call from C native console application - crash

Hi! Based on Microsoft Universal Samples (https://github.com/microsoft/Windows-universal-samples) I've created a static library(.lib) for geolocating on Windows 10/11. The library is linked into a Windows console application (.exe). I've tried with…

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.
5,142 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,742 questions
asked 2024-10-15T13:03:17.6366667+00:00
test test 0 Reputation points
commented 2024-10-15T16:18:34.6566667+00:00
Darran Rowe 1,016 Reputation points
0 answers

UWP App communication with another process (*.exe)

UWP Experts, We have a UWP app where we use a third party process (*.exe) and get the updates for file conversions. We call the process using .NET Process class and get the conversion updates and based on the process exit code it is decided that the…

Universal Windows Platform (UWP)
asked 2024-10-04T03:20:43.5166667+00:00
DotNET Fan 211 Reputation points
edited a comment 2024-10-15T11:28:42.5133333+00:00
DotNET Fan 211 Reputation points
1 answer One of the answers was accepted by the question author.

Are there any tools for testing purchases, taking into account the need to receive completed purchases via Microsoft Store API?

We are developing a user purchase management system that provides information about subscriptions using Microsoft Store API (e.g. https://purchase.mp.microsoft.com/v8.0/b2b/recurrences/query). We need to test the processing of subscriptions in the…

Universal Windows Platform (UWP)
Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
993 questions
Microsoft Partner Center API
Microsoft Partner Center API
Microsoft Partner Center: A Microsoft website for partners that provides access to product support, a partner community, and other partner services.API: A software intermediary that allows two applications to interact with each other.
340 questions
asked 2024-10-11T06:59:44.01+00:00
Roman Makar 25 Reputation points
accepted 2024-10-15T06:42:10.7933333+00:00
Roman Makar 25 Reputation points
1 answer

How to customize a caret of TextBox in UWP?

I want to make customized TextBox and I don't know how to customize the caret in UWP. I thought of these ways to make it: Change the style of the original caret directly Use a rectangle and let it blink, but how to hide the original caret or how to…

Universal Windows Platform (UWP)
asked 2024-09-28T15:26:26.3066667+00:00
水 知 125 Reputation points
commented 2024-10-15T06:29:10.6133333+00:00
水 知 125 Reputation points
1 answer One of the answers was accepted by the question author.

How to use Shadow effect in the border of Flip view item.

i have a flipview item , i tried to use drop shadow but it cover in whole grid.

Universal Windows Platform (UWP)
asked 2024-10-04T09:42:43.39+00:00
Deepak Patel 40 Reputation points
accepted 2024-10-15T05:34:20.9666667+00:00
Deepak Patel 40 Reputation points
2 answers One of the answers was accepted by the question author.

Bring UWP app window to front and move it

I want to move windows programmatically. It works fine except for all windows belonging to UWP apps. When I try to read out all HWNDs of Microsoft Movies & TV there are 3 possibilities: The Window is minimized: I can read out 3 HWNDs two of them…

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,962 questions
asked 2021-01-06T00:47:42.833+00:00
Marcel Lorenz 86 Reputation points
commented 2024-10-15T04:04:16.78+00:00
Huxley Yuan 0 Reputation points
1 answer

How come I keep geting the errors when I use the simple shooter sample?

Theres a problem with this code: GameplayScreen.cpp `// Create a sphere primitive to represent the player.` ` // The sphere will be used to handle collisions and constrain the player in the world.` ` // It is not rendered so it is not added to the…

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.
5,142 questions
asked 2024-10-01T20:26:45.3933333+00:00
Garrett Tiller 6 Reputation points
commented 2024-10-15T02:44:40.1833333+00:00
Roy Li - MSFT 33,366 Reputation points Microsoft Vendor
0 answers

Are ESim related WinRT APIs require Package Identity?

Hi, team I am trying to use WinRT API (under name space Windows.Networking.NetworkOperators) to read ESim ID on my laptop. I created a UWP App and this api worked. However the project i'm working on is not a UWP app and it's based on .NET 4.6. I imported…

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,427 questions
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,781 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,962 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,357 questions
asked 2024-10-11T06:40:18.12+00:00
Jayden Xia 0 Reputation points
commented 2024-10-15T01:25:47.7033333+00:00
Minxin Yu 11,756 Reputation points Microsoft Vendor
4 answers One of the answers was accepted by the question author.

Unable to add printSupportSettingsUI Extensions for Print Support applications (PSA)

I am getting errors and unable to use windows.printSupportSettingsUI extension is required for the Print support settings UI. I tried the below sample code provided by Microsoft's Print-support-app-design-guide documentation. …

Universal Windows Platform (UWP)
asked 2022-12-19T23:05:33.79+00:00
Amitha K 56 Reputation points
commented 2024-10-14T08:26:26.1166667+00:00
Jong, Gert de (External) 0 Reputation points
2 answers One of the answers was accepted by the question author.

Windows SDK versions are not clear for me

Hello! On the https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/ page the latest SDK version is 10.0.26100, however Wikipedia tells that the stable release is 10.0.22621.0 (which is on the SDK archive page). Maybe the wiki page is not…

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.
787 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,634 questions
asked 2024-10-12T18:19:15.7766667+00:00
Zsolt Kántor 80 Reputation points
commented 2024-10-13T13:31:58.6566667+00:00
Zsolt Kántor 80 Reputation points
0 answers

An exception is given when trying to instanciate AppInstallManager() | UWP

When i try to do this code "AppInstallManager appInstallManager = new AppInstallManager();" In UWP the follow exception is thrown : the code above is on a class library project where is used by both WinUI and UWP projects. The same code…

Universal Windows Platform (UWP)
asked 2024-10-10T21:04:27.8733333+00:00
commented 2024-10-11T07:38:01.11+00:00
Junjie Zhu - MSFT 18,081 Reputation points Microsoft Vendor
0 answers

BackgroundTaskBuilder.Register throws HRESULT: 0x00700B7 on multiple task registration

A bit of background: I am working in an ecosystem where independent devices on a network ask a central server for things to do. Lately I've been working on a new kind of device that itself does not have a network connection, and connects to a PC with…

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,427 questions
Universal Windows Platform (UWP)
asked 2024-09-30T17:52:54.3966667+00:00
Brian Henning 0 Reputation points
commented 2024-10-11T05:42:58.48+00:00
Junjie Zhu - MSFT 18,081 Reputation points Microsoft Vendor
1 answer

GridView - item remove from source collation not shown on Windows 11

I am using GridView to implement list of games with cover arts. All grid items are binded to ObservableCollection by ItemsSource="{x:Bind StoreInfo.GameInfos}" I added an option to update the game cover art. To show updated item in live I…

Universal Windows Platform (UWP)
asked 2024-09-11T10:18:06.42+00:00
60856927 66 Reputation points
commented 2024-10-10T11:57:23.3366667+00:00
60856927 66 Reputation points