windows-10

Can I sync scrolling between multiple Listview items in UWP?

为君一笑 提交于 2019-12-06 16:57:17
问题 How can I link 2 Listview components, so that their scrolling is in sync (when I scroll one, the other scrolls too at the same time)? So basically I need a way to: 1) Monitor the scrolling event of Listview1 2) Set the same scrolling offset to Listview2 I found some examples here on Stackoverflow but they either refer to WPF, or WinRT and they are not compatible with my app. Thank you! 回答1: What you have described in your question can be done by the following steps: Find the ScrollViewer

repositories.cfg could not be loaded in Windows 10 [closed]

。_饼干妹妹 提交于 2019-12-06 16:52:22
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . while installing native-script i got repositories.cfg could not be loaded error , please help me debugging it. It would help me if you can give the way to download the file externally. The code i used was..... @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString

Microsoft Root Certificate Authority 2010 not valid

梦想与她 提交于 2019-12-06 16:43:48
On my Windows 8.1 machine (freshly installed), the Microsoft Root Certificate Authority 2010 certificate is listed as not valid (as can be seen on the screenshot below). On the other hand, my Windows 10 machine shows this: What can be the reason for such behaviour? 来源: https://stackoverflow.com/questions/32661107/microsoft-root-certificate-authority-2010-not-valid

How do I run the Visual Studio (2017) Installer?

对着背影说爱祢 提交于 2019-12-06 16:43:31
问题 It's probably really obvious once you know the answer, but I can't find it anywhere. I'm not talking about making an installer, I'm talking about running the installer that lets me modify which features of Visual Studio 2017 are installed. The main screen looks like this: the screen I need is this one: In Visual Studio 2017, there is a menu entry for "Extensions and Updates" under the Tool menu that doesn't take me to this application. There is also a "NuGet Package Manager" which isn't even

How to make Windows 10 Store “forget” an app download for testing purposes?

半世苍凉 提交于 2019-12-06 16:18:24
I'm testing my Win32 app converted to UWP, so I'm new to the whole Windows 10 Store concept. So far I was able to get my app certified & published in the store via a private link. Now I would like to download and test it, but there's an issue. The first time someone sees the app it has the following options: but once you get it, all you see is this: and even if you log in under a different Microsoft account (on the same computer), or previously uninstall the app, you get this: and "free trial" simply installs it w/o a trial in that case. So my question is, how do I make Windows Store "forget"

Bluetooth scan C#

↘锁芯ラ 提交于 2019-12-06 16:11:04
问题 I'm developing a C# WinForms app on Windows 10. I want to perform a Bluetooth environment scan and get devices list all around the PC. I also want the RSSI of each device. I have tried 32feet library but I can't access RSSI. Have you a solution or should I migrate to WPF/UWP? 回答1: ok, I have found a solution here. You first have to install Windows10 development kit. Then in your project you have to add this library: C:\Program Files (x86)\Windows Kits\10\UnionMetadata\Windows.winmd Or you can

Custom Panel with Reorder and animations / transitions

。_饼干妹妹 提交于 2019-12-06 15:33:51
问题 I have a custom class called FluidPanel that extends Panel and overrides methods MeasureOverride and ArrangeOverride. The goal is to create the Google Keep appearence. Ok, it's working fine. (app link) But, because I'm extending a basic Panel and using it as the ItemsPanelTemplate, I'm missing 2 things: Reorder and some transitions, that simply doens't work out of the box. See code: <GridView CanReorderItems="True" CanDrag="True" AllowDrop="True"> <GridView.ItemContainerTransitions>

boot2docker / bootsync.sh ignores my default gateway?

被刻印的时光 ゝ 提交于 2019-12-06 15:00:06
问题 I'm trying to configure a static IP address for a docker machine. Thanks to VonC answer, I managed to get started. However, I'm facing a problem: boot2docker seems to ignore the "route add default gw 192.168.0.1", no matter what. To reproduce: 1. Create a new docker machine: OK docker-machine create -d hyperv --hyperv-virtual-switch "Primary Virtual Switch" Swarm-Worker1 2. Apply your batch: OK dmvbf Swarm-Worker1 0 108 3. SSH into the machine and check that bootsync.sh is fine: OK cat /var

Users not receiving Windows 10 Packaged Flight

白昼怎懂夜的黑 提交于 2019-12-06 14:16:05
I'm currently trying to use Windows 10 Packaged Flight system to beta test our Windows 10 Cordova application, following the instructions found here . After the app package is certified, when I go into the Windows Store to download the packaged flight, it installs the production version of the app instead. I have verified that both the login and Store credentials match the account included in Flight Group. I have also tried uploading the app as an .appxupload file as well as an .appxbundle file, and neither works. Do I need to do something on the account to enable packaged flights? Is there

How to get the system accent color for UWP-Apps?

流过昼夜 提交于 2019-12-06 14:08:20
问题 I'm trying to get the Accent Color of a user in a UWP-App for Windows 10. I know how to get it in C#, but I develop my apps in WinJS. So does anyone knows the WinJS equivalent for var color = (Color)Application.Current.Resources["SystemAccentColor"]; ? It would also be nice, if I could Access this Color with CSS. I found some hints, that color: Highlight; would be the solution, but this gives me only a blue and not the Accent Color. Thanks alot. 回答1: you can use WinRT API to do that : Windows