55,624 questions with Developer technologies-related tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

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
asked 2020-02-25T08:03:30.603+00:00
Charles He-MSFT 96 Reputation points Microsoft Employee
answered 2020-03-03T09:11:14.01+00:00
Peter Fleischer (former MVP) 19,351 Reputation points
1 answer One of the answers was accepted by the question author.

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
Azure Notification Hubs

An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.

408 questions
Developer technologies | Universal Windows Platform (UWP)
asked 2020-02-28T04:22:06.577+00:00
Devid 61 Reputation points
commented 2020-03-02T19:26:20.813+00:00
AjayKumar-MSFT 1 Reputation point
0 answers

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)
asked 2020-02-27T04:06:45.62+00:00
Lindane 86 Reputation points
commented 2020-03-02T08:26:59.14+00:00
Fay Wang - MSFT 5,231 Reputation points
1 answer

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)
asked 2020-02-28T01:30:22.627+00:00
card 1 Reputation point
commented 2020-03-02T08:15:38.747+00:00
Richard Zhang-MSFT 6,936 Reputation points Microsoft Employee Moderator
1 answer

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)
asked 2020-02-26T06:39:56.187+00:00
pol2095 1 Reputation point
commented 2020-03-02T07:52:39.52+00:00
Anonymous
0 answers

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)
asked 2020-02-20T06:42:10.543+00:00
Nathan Sokalski 4,111 Reputation points
commented 2020-03-02T06:05:50.117+00:00
Fay Wang - MSFT 5,231 Reputation points
1 answer One of the answers was accepted by the question author.

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
asked 2020-02-28T11:54:04.897+00:00
Fanhua Kong 241 Reputation points
accepted 2020-02-29T09:02:11.687+00:00
Fanhua Kong 241 Reputation points
1 answer One of the answers was accepted by the question author.

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)
asked 2020-02-16T20:55:22.473+00:00
Logan Stach 41 Reputation points
accepted 2020-02-29T01:42:43.797+00:00
Logan Stach 41 Reputation points
2 answers

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)
asked 2020-01-04T13:34:38.23+00:00
Ali Noshahi 26 Reputation points
answered 2020-02-28T17:01:35.397+00:00
rbrundritt 21,781 Reputation points
1 answer

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)
asked 2020-01-13T08:15:50.567+00:00
Ali Noshahi 26 Reputation points
commented 2020-02-28T14:10:14.477+00:00
Ali Noshahi 26 Reputation points
0 answers

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)
asked 2020-02-18T20:18:36.74+00:00
Ali Noshahi 26 Reputation points
commented 2020-02-28T09:48:07.967+00:00
Richard Zhang-MSFT 6,936 Reputation points Microsoft Employee Moderator
1 answer

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)
asked 2020-02-16T20:14:53.827+00:00
Logan Stach 41 Reputation points
commented 2020-02-28T09:47:39.573+00:00
Richard Zhang-MSFT 6,936 Reputation points Microsoft Employee Moderator
2 answers

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)
asked 2020-02-15T04:30:02.187+00:00
Nathan Sokalski 4,111 Reputation points
commented 2020-02-28T09:47:11.227+00:00
Richard Zhang-MSFT 6,936 Reputation points Microsoft Employee Moderator
1 answer

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)
asked 2020-02-13T15:15:53.693+00:00
guess_me_if_u_can 126 Reputation points
commented 2020-02-28T09:46:50.213+00:00
Richard Zhang-MSFT 6,936 Reputation points Microsoft Employee Moderator
1 answer

[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)
asked 2020-02-10T18:54:30.383+00:00
Steve Wood 56 Reputation points
commented 2020-02-28T09:45:56.617+00:00
Richard Zhang-MSFT 6,936 Reputation points Microsoft Employee Moderator
3 answers

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)
asked 2020-02-04T06:35:45.927+00:00
MangoApps 91 Reputation points
commented 2020-02-28T09:45:33.067+00:00
Richard Zhang-MSFT 6,936 Reputation points Microsoft Employee Moderator
1 answer

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)
asked 2020-02-10T03:13:31.827+00:00
Nathan Sokalski 4,111 Reputation points
commented 2020-02-28T09:40:42.53+00:00
Fay Wang - MSFT 5,231 Reputation points
0 answers

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)
asked 2020-02-13T10:18:31.877+00:00
Marius 1 Reputation point
commented 2020-02-28T09:35:30.847+00:00
Fay Wang - MSFT 5,231 Reputation points
0 answers

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)
asked 2020-02-20T03:48:09.637+00:00
Sunbreak Wang 1 Reputation point
commented 2020-02-28T09:31:01.023+00:00
Fay Wang - MSFT 5,231 Reputation points
1 answer One of the answers was accepted by the question author.

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)
asked 2020-02-24T08:18:24.033+00:00
Richard Braun 46 Reputation points
accepted 2020-02-28T08:04:25.337+00:00
Richard Braun 46 Reputation points