A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
How to sort ListView by selected column?
Source thread: how to sort list view with different dataTemplate (int, bool, string, ...), answered by Alex Li-MSFT. I have a ListView control and I want to sort all the items in the list when user click on specific column header, how to achieve it? …
Developer technologies | Windows Presentation Foundation
Send notifications to Universal Windows Platform apps by using Azure Notification Hubs
I follow this Tutorial: Send notifications to Universal Windows Platform apps by using Azure Notification Hubs, but in the last step: Send test notification. My desktop does not receive any notification. I am sure I followed the doc, any reason for this?…
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
How to speed up UWP run time
When I run my UWP from visual studio, it takes very long, how to speed up such time? If I creat a blank app, it runs very fast. So it only happen in this app.
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
Creata a table in XAML
How to create a table with row and column in UWP like the HTML tag? If we use the ListView or GridView, it can not have the column title for each column and column line to make it look like a table. Thanks.
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
MSIX runFullTrust doesn't allow access to user account info
Hello, I created a Windows Forms Application (.NET Framework) with a TextBox and a Button I added a NuGet Package : Microsoft.Windows.SDK.Contracts to use UWP I use this code inspired by this example using System; using…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
Scrolling Programmatically and Manually
I have a UWP app which contains a ScrollViewer. The ScrollViewer will be scrolled both programmatically and by the user. When the ScrollViewer is resized (whether by modifying the layout of other components or the user resizing the window), I want to…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
When ValidationStep set to UpdatedValue, the invalid red border won't go off
Hi guys. I'm using ValidationRules to do the data check on UI. When I set the ValidationStep to UpdatedValue, it works weird. When the input is incorrect, the control shows a red border as normally. However, after I changed the value correctly, the…
Developer technologies | Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
How do I assign a variable to a Textblock within a DataTemplate in a ListViewHeader?
I have a DataTemplate inside a ListViewHeader with a Textblock inside it. I want this Textblock to have a string variable that I give it in code in the cs file. However, because it's in a DataTemplate, the Textblock is not recognized in the cs file. …
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
Using Google Maps vector tiles in UWP MapControl
Hi there everyone. I'm trying to create a Google Maps client for Windows 10. I know that I can use Google Maps tiles using like this http://mt1.google.com/vt/lyrs=r&hl=x-local&z={zoomlevel}&x={x}&y={y} but using this way tiles…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
Touchpad Interactions in uwp
Hi there, I'm currently working on an Unofficial Instagram client "Winsta" and I recently added a pinch to zoom feature to it but it doesn't work with the touchpad. Touchpad gestures don't invoke the Manipulation events. I know I can use…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
Scrollable Pivot with header
Hi there, I want to have a Pivot with a scrollable header so I made a style for my self like below 3041-pivotstyle.txt And using this style I can have a header in my pivot using Tag property <Pivot> <Pivot.Tag> …
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
Does Application.Suspend activate when the user intentionally closes the app in UWP?
I have a UWP app, and I want to save my data when the user closes the application. I created an OnSuspending event for when the app suspends and call my Write() method to save data within it. When I activate the Suspend event when debugging, the code…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
Resize & Center a UWP App On Launch
I have a UWP app which, when launched, I want to assign a fixed width, horizontally center, and vertically stretch to the size of the screen (excluding the Task Bar). I would also like to keep it this size & position, although I realize that this may…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
Need to execute a functionality twice on a single event.
In my scenario, my uwp app need to supports both online and offline mode. When an Event triggers and fetching data from the server, i need to serve the offline data in the mean time. function getData() { // calls the server for online data //…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
[UWP][C#]How to use ScrollBar?
I am trying to use the Windows.UI.Xaml.Controls.ScrollBar but it won't display. I've tried all kinds of stuff, but can't get it to display. Is there a trick to displaying a ScrollBar in a UWP page? What I'm trying to do is display the ScrollBar to…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
UWP C# How to check is internet connection is available or not?
So I want to check whether the internet connection is available or not.. So I am using "NetworkInterface.GetIsNetworkAvailable()" but it gives me the false result... its return true but in real internet connection is not available I…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
Refreshing ItemsControl Without Rebinding
I have an ItemsControl inside a ScrollViewer. When an item in the ItemsControl changes, I need to rescroll to the same place, since I need to assing a new set of data to the ItemsSource. However, this frequent scrolling makes for a very ugly UI, so I am…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
Windows.Graphics.Printing3D; using 3D Builder API for reducing .glb
Hello, i am trying to build a programm to reduce the poly count of .glb with the 3D Builder api, but with Windows.Graphics.Printing3D namespace you have to convert to .3mf format. I am wondering if i overlooked something to load directly .glb like in…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
Latency before first Characteristic ValueChanged Event
We are developing a BLE notepad, https://www.xp-pen.com/product/516.html SDK available: https://github.com/woodemi/notepad-sdk-uwp The notepad collects 200 NotePenPointer per seconds and transfers the data though BLE. But there seem to be a…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
Use external display in direct mode in UWP
Hi, I am looking for a solution on how to directly display an UWP-Window on an external display, without it being used in extended mode (e.g. as a monitor for the desktop). Pretty much every graphics solution offers some kind of direct mode, but I…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.