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

Sort by: Updated
0 answers

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
1 answer

Uninstalling optional package also uninstalls main app

I'm testing the usage of the optional package using this UWP sample. With this sample I just deploy the main app and it's optional package. In the Windows "Settings/Apps/Installed apps" I see the optional package and I uninstall it, and the…

Universal Windows Platform (UWP)
asked 2024-09-11T10:37:47.9266667+00:00
Bruno Lima 1 Reputation point
edited a comment 2024-09-27T18:45:10.73+00:00
Bruno Lima 1 Reputation point
1 answer One of the answers was accepted by the question author.

Adding ContentDialog item to UWP Blank App (C++/WinRT) fails to generate .g.h file?

I am trying to add a ContentDialog item to UWP Blank App (C++/WinRT) project. With a fresh project of this type I choose Add New Item > XAML > ContentDialog. Once the item is added to the project it no long builds successfully - a error 'C1083:…

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,080 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,709 questions
asked 2024-09-27T01:52:32.4733333+00:00
Matthew Armshaw 41 Reputation points
accepted 2024-09-27T15:44:24.6366667+00:00
Matthew Armshaw 41 Reputation points
1 answer One of the answers was accepted by the question author.

inquiry about shimmer effect in uwp app

I am developing a UWP application and would like to inquire whether there are any built-in controls or effects in UWP (or any associated libraries) that can be used directly to implement shimmer effect in my app.

Universal Windows Platform (UWP)
asked 2024-09-27T05:58:18.2233333+00:00
Deepak Patel 20 Reputation points
commented 2024-09-27T11:35:56.51+00:00
Deepak Patel 20 Reputation points
1 answer One of the answers was accepted by the question author.

Custom themes and dynamic UI styles for UWP app

Hello UWP experts , We have 6 resource dictionaries having different themes , particulary app background, button colors etc... And initially from the application resources it loads the default one if user didn't select any other theme.…

Universal Windows Platform (UWP)
asked 2024-09-02T06:01:10.4966667+00:00
DotNET Fan 211 Reputation points
accepted 2024-09-27T11:32:59.6066667+00:00
DotNET Fan 211 Reputation points
0 answers

GridView - no frame at item selection on Windows 11

I am using GridView control in my UWP app. The grid shows games cover arts gallery. On Windows 10 i see the grid item gets a frame at item selection, but on Windows 11 no frame appears. How to make it working the same way like on Windows 10?

Universal Windows Platform (UWP)
asked 2024-09-11T09:26:09.9766667+00:00
60856927 46 Reputation points
commented 2024-09-27T09:10:42.4366667+00:00
Junjie Zhu - MSFT 17,636 Reputation points Microsoft Vendor
1 answer

Loading data and splash screen time

Hello, I am loading data to the app using such code now: private async void Page_Loaded(object sender, RoutedEventArgs e) { await CreateDataBaseIfNotExists(); //creates database if it doesn't already exists. await LoadData(); //loads data to…

Universal Windows Platform (UWP)
asked 2024-09-18T08:01:19.84+00:00
BitSmithy 2,041 Reputation points
answered 2024-09-27T08:08:09.12+00:00
Junjie Zhu - MSFT 17,636 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 46 Reputation points
commented 2024-09-27T07:33:12.1666667+00:00
60856927 46 Reputation points
1 answer

UWP Windows.System.Launcher.LaunchUriAsync is not opening correctly in browser when the URI supports opening the link in other uwp app and browser.

Hi I'm using Windows.System.Launcher.LaunchUriAsync to open a URI, I'm prompted with a dialogue when the URI can be opened in other uwp app and browser. If chosen browser, it opens the local path - AppData/Local/Microsoft/Windows/INetCache instead of…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,823 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,887 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.
806 questions
asked 2024-09-16T05:48:47.1033333+00:00
Harsini 0 Reputation points
commented 2024-09-27T07:02:16.2266667+00:00
Harsini 0 Reputation points
1 answer

UWP How to cancel a file search

I have a code to search for files in a user's selected folder, the file search takes some time and I need to be able to cancel it if the user changes the folder QueryOptions options = new QueryOptions(CommonFileQuery.OrderByName, filesExtensions) {…

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,887 questions
asked 2024-09-10T15:14:33.9233333+00:00
Arsen Kovalchuk 0 Reputation points
answered 2024-09-27T06:43:09.5233333+00:00
youzedev@gmail.com 640 Reputation points
1 answer

using readAllBytes throws "file not accessible error"

I trying to read an encrypted file using the following: and getting access not allowed error. // would prefer to use the following instead of picker" // AuthFile = @"C:\vbscripts\pid.txt"; // if…

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,887 questions
asked 2024-09-11T21:45:09.99+00:00
tim 160 Reputation points
commented 2024-09-27T06:36:38.3633333+00:00
Roy Li - MSFT 33,091 Reputation points Microsoft Vendor
1 answer

c# UWP resource directory DataTemplate with x:DataType not working

HI, using VS2022 UWP c# I am trying to put a DataTemplate into a ResourceDictionary using a x:DataType I get a compile error Severity Code Description Project File Line Suppression State Error The XAML Binary Format (XBF) generator reported syntax…

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,887 questions
asked 2024-09-12T14:45:36.5366667+00:00
Paul Ryan 321 Reputation points
commented 2024-09-27T06:36:08.5366667+00:00
Roy Li - MSFT 33,091 Reputation points Microsoft Vendor
1 answer

Multiple Instances of App

Hi UWP experts, So i have enabled multiple instances of my app through the package manifest desktop4:SupportsMultipleInstances="true" and it works perfectly fine when the app is selected from the windows start menu and opens up multiple…

Universal Windows Platform (UWP)
asked 2024-09-19T08:19:31+00:00
DotNET Fan 211 Reputation points
commented 2024-09-27T06:34:41.67+00:00
Roy Li - MSFT 33,091 Reputation points Microsoft Vendor
0 answers

Do we need to Register the background tasks in Print Support App.?

Do we need to register the background tasks .? https://video2.skills-academy.com/en-us/windows/uwp/launch-resume/register-a-background-task I am using "Extension Category="windows.printSupportWorkflow" " for the Print Support app. Because…

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.
783 questions
Windows Driver Kit (WDK)
Windows Driver Kit (WDK)
A set of Microsoft tools that are used to develop, test, and deploy Windows drivers.
98 questions
asked 2024-09-26T03:54:08.91+00:00
Pegasus Admin 0 Reputation points
commented 2024-09-27T03:51:02.7466667+00:00
Pegasus Admin 0 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 46 Reputation points
commented 2024-09-27T02:36:06.5366667+00:00
Junjie Zhu - MSFT 17,636 Reputation points Microsoft Vendor
1 answer

UWP app performance is slower when compared to Windows desktop application(WPF)

I am developing an application in UWP and where I have to download data form network on button click. In Windows desktop application(WPF) it is taking lower time(11 sec) as compared to UWP(33 sec). So, does any one has idea on these performance impact…

Universal Windows Platform (UWP)
asked 2023-09-04T11:05:55.5266667+00:00
Uma Venkateswararao Achanta 0 Reputation points
answered 2024-09-26T14:01:32.4633333+00:00
Johnm 0 Reputation points
0 answers

Unable to intercept the print jobs with Print Support App and Microsoft IPP Driver

Hi Team, I'm building the PSA print support application using a sample PSA code provided by MS, I am not able to confirm whether the app is activated with PrintSupportSettingsUI and WorkflowTask could you please help me with this? I followed below…

Universal Windows Platform (UWP)
asked 2024-06-03T04:28:08.0633333+00:00
Pegasus Admin 0 Reputation points
edited a comment 2024-09-26T03:54:14.9233333+00:00
Pegasus Admin 0 Reputation points
0 answers

App-Crash with Microsoft.Azure.NotificationHubs

Hello, i have a UWA Project. To send Notification, in history i use the REST-API from Azure Notification Hub. But still not works if i will use/build a Release App in Visual Studio. On Android, no issue with the NUGET if i will send Notification On…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
318 questions
Universal Windows Platform (UWP)
asked 2024-09-24T02:28:21.2033333+00:00
Klaus Krönert 31 Reputation points
commented 2024-09-24T07:01:01.5766667+00:00
Junjie Zhu - MSFT 17,636 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

[BLE] When can a BluetoothLE operation prompt for consent?

I developed a command-line program that connects to a BLE device (a motion sensor), subscribes to motion notifications, then prints the coordinates to stdout around 60 times per second. The data is consumed by a legacy Adobe AIR desktop application…

Universal Windows Platform (UWP)
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,709 questions
asked 2021-01-20T00:46:26.457+00:00
Gene Pavlovsky 21 Reputation points
commented 2024-09-24T05:45:57.91+00:00
stephen manrique 0 Reputation points
0 answers

We have a query regarding UWP as outlined

We have a client query regarding UWP as outlined below: Utilize the UWP API to expose Geolocation functions for use within Java through JNI. Prepare a resulting DLL and a JNI wrapper to be used in a Java application. Our team encountered a set of…

Universal Windows Platform (UWP)
asked 2024-09-23T05:27:40.56+00:00
Jay 80 Reputation points
commented 2024-09-23T07:07:41.67+00:00
Jay 80 Reputation points