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

Sort by: Updated
1 answer

UWP - Webview with borders

Hi, In our UWP app, we show data using web views. We have added a border around the web view. Now when the data loads, we see the empty borders before the text loads. Please check this. Can you please let us know how to solve this issue. …

Universal Windows Platform (UWP)
asked 2019-11-23T15:13:35.103+00:00
Madhu 96 Reputation points
commented 2019-11-28T03:24:26.617+00:00
Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,861 Reputation points
1 answer

Painting on UWP app

Hi, We are building a UWP app which needs the user to write on top of the content of our app using touch. For e.g it is similar to some teaching app on a big screen, and while teaching he wants to mark on some content etc.. The features related…

Universal Windows Platform (UWP)
asked 2019-11-19T08:42:33.077+00:00
Madhu 96 Reputation points
commented 2019-11-26T13:03:23.757+00:00
Madhu 96 Reputation points
1 answer

When Frame control navigate to other page encounter a crash

Because of UWP application limit too much, I try to use WPF with XAML Island. When I try to navigate to other page, I encounter a crash. May be it's a bug? I upload my project on cloud: https://share.weiyun.com/5cGsibY

Universal Windows Platform (UWP)
asked 2019-11-06T07:59:05.307+00:00
Hell 36 Reputation points
answered 2019-11-26T11:49:27.15+00:00
Vincent Sky 1 Reputation point
1 answer One of the answers was accepted by the question author.

UWP Web view get blinks one time after loading

How can we fix web view blink issue? XAML code util:WebViewCustomProperties.HtmlContent="{Binding CourseDescription}" WebViewCustomProperties Class // "HtmlContent" attached property for a WebView         public static readonly…

Universal Windows Platform (UWP)
asked 2019-11-22T09:58:32.06+00:00
Nimalika 21 Reputation points
commented 2019-11-25T06:57:10.277+00:00
Nimalika 21 Reputation points
2 answers

Visual studio 2017: Debugging a UWP app works in debug mode, but not in release mode

Hello, I am developing a UWP application with Visual Studio 2017. When I run this application in Debug - x86 mode, it runs correctly from VS, and also from the start menu. On the other hand, when I run it in Release - x86 mode, sometimes it runs,…

Universal Windows Platform (UWP)
asked 2019-11-15T18:16:50.867+00:00
Marcel Delhaye 26 Reputation points
commented 2019-11-21T07:59:20.127+00:00
Roy Li - MSFT 32,721 Reputation points Microsoft Vendor
2 answers

Stream Sockets

Hi, We have two different UWP apps used in our project. From one App to the other we need to send some notification for a particular event. The 2 apps will always be running in 2 devices. App1 will be used by certain set of users in some devices and…

Universal Windows Platform (UWP)
asked 2019-11-19T08:52:00.937+00:00
Madhu 96 Reputation points
answered 2019-11-19T22:15:23.96+00:00
Xiaodi Yan 876 Reputation points MVP
1 answer

Declared package dependency unavailable: Microsoft.VCLibs.140.00.UWPDesktop, Neutral, Universal,Universal

Hi, I have a wpf app and I have converted it to uwp app using Windows application packaging project from Visual Studio. I am trying to submit appxupload package on store but at last when validation happens I am getting the error like : Declared…

Universal Windows Platform (UWP)
asked 2019-11-14T09:57:29.277+00:00
Akshay Verma 6 Reputation points
commented 2019-11-18T07:37:28.277+00:00
Roy Li - MSFT 32,721 Reputation points Microsoft Vendor
2 answers

[UWP] Serialize app local settings

I want to be able to take the settings for my app and copy them so that they can be shared by different users on different machines. Is there a way to serialize or some how copy the app settings to a different location?

Universal Windows Platform (UWP)
asked 2019-11-12T16:42:02.05+00:00
Jim Young 1 Reputation point
commented 2019-11-14T01:40:56.47+00:00
Xiaodi Yan 876 Reputation points MVP
1 answer One of the answers was accepted by the question author.

Data binding in UWP

What is the diffrence between binding and x:bind. My xaml code works fine when I change to binding. But I can not share my code, I also try to upload image, it fail as well. How can I share my code?

Universal Windows Platform (UWP)
asked 2019-11-08T08:29:00.797+00:00
Anbie 21 Reputation points
commented 2019-11-08T11:27:54.763+00:00
Anbie 21 Reputation points
1 answer One of the answers was accepted by the question author.

Push notification in UWP after covert

I want to let my console app to use the push notification in UWP, so my team decide to covert our Console app to UWP. The question is how to implement the push notification after convert. Thanks.

Universal Windows Platform (UWP)
asked 2019-11-08T03:57:45.06+00:00
Lucas 41 Reputation points
commented 2019-11-08T08:12:31.28+00:00
Lucas 41 Reputation points
1 answer One of the answers was accepted by the question author.

Covert my app to UWP

I have a console app and I have made some changes to the registry. If I convert to UWP how it can be done and what happen with the registry.

Universal Windows Platform (UWP)
asked 2019-11-08T03:50:00.527+00:00
Lucas 41 Reputation points
accepted 2019-11-08T08:10:52.02+00:00
Lucas 41 Reputation points
3 answers One of the answers was accepted by the question author.

problem with richedittext

private void ComboChanged(object sender, SelectionChangedEventArgs e) { richEbitBox.Document.GetText(TextGetOptions.AdjustCrlf, out string value); var id = sender as ComboBox; switch (id.Tag) { case…

Universal Windows Platform (UWP)
asked 2019-11-07T08:16:10.87+00:00
Eduardo Gomez 3,416 Reputation points
commented 2019-11-08T01:32:46.75+00:00
Roy Li - MSFT 32,721 Reputation points Microsoft Vendor
0 answers

Can't connect by Device Portal

I have Smartphone Nokia Lumia 635 with Windows 10 Version 1607 build 10.0.14393.2551 PC Windows 10 1903 build 18362.418 Yesterday I was connect without problem but today I can't connect - I see warning about certificate and I'm accepting risk but page…

Universal Windows Platform (UWP)
asked 2019-11-04T20:19:36.14+00:00
MESSIAH 11 Reputation points
commented 2019-11-07T06:04:18.12+00:00
Roy Li - MSFT 32,721 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Consuming UWP mail api from WPF Desktop Bridge App

I'm porting my WPF application to UWP, but some APIs are not permitted in the UWP - one of these is classic mail API (MAPI). I've already made some successfull tests about consuming UWP APIs from Desktop Application and hoped the mail api will work…

Universal Windows Platform (UWP)
asked 2019-10-30T06:17:48.137+00:00
Elvis Xia 131 Reputation points Microsoft Employee
commented 2019-11-06T03:46:23.947+00:00
Xie Steven 811 Reputation points
1 answer One of the answers was accepted by the question author.

UWP Performance: Task.Run() vs Background Service

I'm working on a UWP app that is showing videos, images & XAML animations. The content displayed is being updated from time to time by pushing updates from the server to the app through grpc. When updates happen the app will need to download new…

Universal Windows Platform (UWP)
asked 2019-11-04T11:14:01.42+00:00
Thomas Pentenrieder 36 Reputation points MVP
commented 2019-11-05T09:35:17.307+00:00
Thomas Pentenrieder 36 Reputation points MVP
1 answer One of the answers was accepted by the question author.

Detect if user has finished drawing strokes in InkCanvas

I am using VS2017 to develop my UWP app and my APP min target version is 10.14393. Is there any event of InkCanvas I can use to detect whether user has finished drawing strokes or not. I want to enable some button after user has drew strokes. …

Universal Windows Platform (UWP)
asked 2019-10-30T06:37:29.4+00:00
Fei Xue - MSFT 1,111 Reputation points
accepted 2019-10-31T02:14:37.417+00:00
Fei Xue - MSFT 1,111 Reputation points
1 answer One of the answers was accepted by the question author.

Switch the ListView Datatemplate from one data template to another data template?

I am developing Universal Windows 10 app, in one of my current project I want to change the ListView Data Template in runtime. Right now I have used only one Data Template, but in my scenario after a button is pressed, I want to change it to another…

Universal Windows Platform (UWP)
asked 2019-10-30T06:35:18.337+00:00
Fei Xue - MSFT 1,111 Reputation points
accepted 2019-10-31T02:14:32.247+00:00
Fei Xue - MSFT 1,111 Reputation points
1 answer One of the answers was accepted by the question author.

How to check if an add-on has purchased that use StoreContext class

I have defined a durable AddOn, and when I used RequestPurchaseAsync() method to check if an add-on has purchased or not, it always shows UI which will be annoying to the user. In the previous version I used:…

Universal Windows Platform (UWP)
asked 2019-10-30T06:32:31.537+00:00
Fei Xue - MSFT 1,111 Reputation points
accepted 2019-10-31T02:14:12.063+00:00
Fei Xue - MSFT 1,111 Reputation points
1 answer One of the answers was accepted by the question author.

Share a large file between two UWP apps using Stream Sockets

I need to share a large file between two UWP apps which are running in two different machines using stream sockets. In order to share the file successfully, I have to share file size before sharing the actual file. So I had to set a separate event in…

Universal Windows Platform (UWP)
asked 2019-10-30T06:27:51.737+00:00
Fei Xue - MSFT 1,111 Reputation points
accepted 2019-10-31T02:13:55.107+00:00
Fei Xue - MSFT 1,111 Reputation points
1 answer One of the answers was accepted by the question author.

[C++/WinRT] How to use SpeechSynthesizer in UWP

I would like to implement the text to speech feature in my app. I see there are docs on how to do this here: https://video2.skills-academy.com/en-us/uwp/api/windows.media.speechsynthesis.speechsynthesizer . However the example does not compile on a modern…

Universal Windows Platform (UWP)
asked 2019-10-30T06:45:54.467+00:00
Elvis Xia 131 Reputation points Microsoft Employee
accepted 2019-10-31T01:34:45.427+00:00
Elvis Xia 131 Reputation points Microsoft Employee