3,043 questions with Developer technologies | Universal Windows Platform (UWP) tags

Sort by: Updated
0 answers

How to access to the resource dictionary

Hi It's a uwp project i try to access to the resource dictionary . I open the solution explorer but i don't see the resource folder Thanks

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-29T17:36:59.72+00:00
Shay Wilner 1,746 Reputation points
commented 2020-01-30T03:45:04.737+00:00
Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,866 Reputation points
1 answer

Preventing listview from scrolling back to the top when removing item

I have this listview which displays a large number of items. The UI also allows me to remove any item from the listview. I scroll around the middle of the listview, and I remove an item. When that happens, the listview scrolls back to the top. I want to…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-28T17:16:30.033+00:00
mcosmin222 1 Reputation point
answered 2020-01-29T07:27:26.83+00:00
Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,866 Reputation points
0 answers

App manifest validation error after adding Windows.Networking.Sockets.WebSocketKeepAlive as backgroundTask entrypoint

I followed the sample here: https://learn.microsoft.com/en-us/windows/uwp/networking/network-communications-in-the-background, and tried to implement an out-of-process background task with websocket. However, after I added…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-28T16:00:26.333+00:00
Anonymous
commented 2020-01-29T07:12:34.453+00:00
Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,866 Reputation points
0 answers

Passing Current Control to IValueConverter

I have an ItemsControl, and in several of the Binding(s) in the DataTemplate I use an IValueConverter. In several of these IValueConverter(s) I need to access the control in which I am doing the Binding (for example, if I am binding the Tag property, I…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-28T15:40:24.177+00:00
Nathan Sokalski 4,111 Reputation points
commented 2020-01-29T02:28:48.637+00:00
Fay Wang - MSFT 5,226 Reputation points
1 answer One of the answers was accepted by the question author.

How to set a global InkToolbar for multiple InkCanvas controls in a ListView?

So I have a ListView which is a vertical list of InkCanvas controls. I know that InkToolbar allows you to set a TargetInkCanvas object to easily provide a control to change the properties of the canvas. However, I don't want to bind to as single…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-25T22:06:37.943+00:00
Daljit Singh 261 Reputation points
accepted 2020-01-29T00:08:09.097+00:00
Daljit Singh 261 Reputation points
1 answer

x64 / x86 Combined Build with DLLs in UWP app

Hi, My team currently ship a UWP app in the store for x64 only. We're trying to get a combined x86 and x64 build available. The app makes use of DLLs that have both x86 and x64 versions. Our builds originally were: x64 Build: Package…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-28T11:28:43.75+00:00
Ross Chisholm 1 Reputation point
answered 2020-01-28T12:10:37.457+00:00
mcosmin222 1 Reputation point
0 answers

UWP Stream socket connection issue

Hi, We have created 2 UWP apps as a Server app and a Client app to be used in a classroom. There can be 30-40 students who has a device with Client app per student. Teacher uses Server app to teach students. There is a feature, when teacher…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-24T15:36:30.143+00:00
Madhu 96 Reputation points
commented 2020-01-27T07:02:46.653+00:00
Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,866 Reputation points
1 answer

DateTimeFormatter is super slow

Why is UWP's DateTimeFormatter so slow at formatting times to strings? DateTimeFormatter.ShortTime.Format(time) If you try formatting 1,440 different times in a loop, that loop takes 2.5 seconds to complete. If you just use…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-25T00:16:12.877+00:00
Andrew Leader 1 Reputation point
answered 2020-01-27T02:12:04.72+00:00
Fay Wang - MSFT 5,226 Reputation points
2 answers One of the answers was accepted by the question author.

How to bind properties in a ListView?

Ok so I am a bit confused the way model-view dynamics work in UWP. Coming from Qt, things seemed a bit complicated. In my project, what I have done is the following: I have create a custom control (the delegate for my view) called CanvasPage, in…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-23T13:44:53.84+00:00
Daljit Singh 261 Reputation points
accepted 2020-01-26T21:30:30.59+00:00
Daljit Singh 261 Reputation points
1 answer One of the answers was accepted by the question author.

How to read from TextBox LineByLine

I have a TextBox with AcceptsReturn="True" Now I want to read from it line by line I tried code: string[] modelLines; modelLines = ModelTextBox.Text.Split('\n'); But it doesnt work, how to read from TextBox…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-22T12:51:36.44+00:00
BitSmithy 2,206 Reputation points
accepted 2020-01-24T15:17:39.173+00:00
BitSmithy 2,206 Reputation points
1 answer One of the answers was accepted by the question author.

CanvasRenderTarget poor rendering quality when drawing ink

I have a ScrollViewer which contains a CanvasVirtualControl. My app does the following: Use an InkCanvas to draw wet ink Custom dry the ink and render it offscreen on a CanvasRenderTarget Then draw the appropriate portion the target onto…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-20T12:14:16.287+00:00
Daljit Singh 261 Reputation points
accepted 2020-01-22T17:11:45.28+00:00
Daljit Singh 261 Reputation points
1 answer One of the answers was accepted by the question author.

UWP. UI tasks does not running when application is hidden.

auto workItemHandler = ref new WorkItemHandler( [this]( IAsyncAction^ action ) { while ( action->Status == AsyncStatus::Started ) { WaitForSingleObjectEx( GetCurrentThread(), 1, FALSE…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-13T13:02:15.293+00:00
Andrew Gagua 21 Reputation points
commented 2020-01-21T08:20:26.377+00:00
Andrew Gagua 21 Reputation points
1 answer

System.Threading namespace is not working/appearing

I am developing a novice level test xamarin test project since I am new to this technology. I need to add a static variable of type Timer using the System.Threading namespace as follows, private static Timer timer; But, it doesn't seem to work. I…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-20T10:57:52.813+00:00
Munem Maruf 1 Reputation point
answered 2020-01-21T06:47:04.813+00:00
Anonymous
1 answer One of the answers was accepted by the question author.

Windows store app - How to avoid App Hang when app is doing a Server communication process for long time?

Hi, I am having a widows store app running in Windows 8.1. In that, I am doing some server communication. the process step is as below Before starting server communication, i show a loading screen by showing a UI with Progress ring in a popup. …

Developer technologies | Universal Windows Platform (UWP)
asked 2019-12-12T12:22:23.487+00:00
Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,866 Reputation points
accepted 2020-01-20T06:59:25.153+00:00
Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,866 Reputation points
1 answer

How to get Path Data from Path

Hello, I create Path from XAML: Next I want to get Path data from the UIElement and show to the user. How to get Path data from UIElement?

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-19T21:58:57.62+00:00
BitSmithy 2,206 Reputation points
answered 2020-01-20T02:17:04.74+00:00
Fay Wang - MSFT 5,226 Reputation points
1 answer

xaml prser error

Hello how is evreryone doing? I am in the last part of the development of my app, and I may need some help @Anonymous (Why the way thank you for all the help) In the LoginPage.xaml, it cannot find my VM (View Model) and throws me the error…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-17T06:56:30.553+00:00
Eduardo Gomez 3,711 Reputation points
commented 2020-01-19T07:00:54.16+00:00
Fay Wang - MSFT 5,226 Reputation points
0 answers

Is there a way to use Storyboard with ListView/GridView items?

Hi all, Here is my question: I have a GridView in my UWP app. Each item in the GridView, keeps a button. Like following: I also have a pre-defined animation in a Storyboard like following OK, here comes the question, is it possible to use…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-18T02:20:17.48+00:00
Alex 6 Reputation points
commented 2020-01-19T05:25:51.767+00:00
Fay Wang - MSFT 5,226 Reputation points
1 answer

Will App Performance reduces if we create many user controls ?

Will App Performance breaks if we create many user controls ( to reduce even small code redundancy in 2 or 3 xaml files) and also when creating many .xaml and .cs files ?

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-16T07:16:34.823+00:00
guess_me_if_u_can 126 Reputation points
commented 2020-01-19T02:35:13.887+00:00
Richard Zhang-MSFT 6,936 Reputation points Microsoft Employee Moderator
2 answers

AES 256 bit encrypted pdf file open error(PdfDocument API)

HI, I am making a pdf viewer in a part of my program. I'm trying to open PDF file by using PdfDocument API It works fine in AES128 encrypt files or non-encrypted files, but it fails to open AES256 bit password-encrypted file. I have…

Developer technologies | Universal Windows Platform (UWP)
asked 2019-12-06T00:59:33.353+00:00
李 廷訓 6 Reputation points
commented 2020-01-16T07:02:43.147+00:00
Richard Zhang-MSFT 6,936 Reputation points Microsoft Employee Moderator
0 answers

Working Example of MutablePackageDirectories

Can someone provide a working example of MutablePackageDirectories for a side loaded uwp app?

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-14T00:34:06.997+00:00
Anonymous
commented 2020-01-15T09:06:30.17+00:00
Fay Wang - MSFT 5,226 Reputation points