3,043 questions with Developer technologies | Universal Windows Platform (UWP) tags
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)

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)

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)

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)
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)
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)
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)

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)
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)
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)
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)
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)
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)
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)


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)
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)
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)
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)

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)

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