win-universal-app

how to install framework SDK(.NETCore, version=v5)

拥有回忆 提交于 2019-12-24 14:00:27
问题 I recently installed Visual Studio 2015 Community for universal app development, but when ever I create a new project and select the universal app under windows the error pops up saying: "One or more projects requires a framework SDK(.NETCore v=5.00) that is either not installed or is included as part of a future update to visual studio" In that error box there is a hyperlink mentioned to download the update but it goes right to the Microsoft website's home page. I read some where to install

List view resets its scroll position on item source change

孤者浪人 提交于 2019-12-24 13:41:28
问题 I am facing a problem in my windows phone 8.1 app where if I am adding an element in the listview's itemsource, the listview resets its scroll position. To explain, if i scroll to bottom of the list view and insert an element to the top of the binded OC, the listview jumps to top automatically. I want it to remain as it is. How to fix this? CODE Code Behind public sealed partial class MainPage : Page { public ObservableCollection<String> Collection = new ObservableCollection<string>();

UWP gridview item selection style [duplicate]

删除回忆录丶 提交于 2019-12-24 13:35:13
问题 This question already has answers here : uwp win10 Listview SelectedItem Style (3 answers) Closed 3 years ago . I want to change the selection style or color of the gridview item. when an item is selected, I want to show a thicker border or a highlight color or any type of change like that. what is the simplest way to achieve this 回答1: Please check this example: I have my page like this: <Page x:Class="App3.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x=

upload an image into mysql database using windows universal app

半世苍凉 提交于 2019-12-24 12:49:16
问题 i've been trying to insert an image from my phone into mysql database using a windows universal app and 2 php files . here is my xaml code ` <TextBox x:Name="UserName" HorizontalAlignment="Left" Margin="143,23,0,0" TextWrapping="Wrap" Text="nameB" VerticalAlignment="Top" Height="2" Width="174"/> <TextBox x:Name="UserMail" HorizontalAlignment="Left" Margin="151,85,0,0" TextWrapping="Wrap" Text="emailB" VerticalAlignment="Top" Height="2" Width="174"/> <TextBox x:Name="UserImage"

Project Centennial - Access Denied when running Desktop App Convertor

為{幸葍}努か 提交于 2019-12-24 05:46:10
问题 This is the error I am getting when I run the convertor: Exception calling "RunIsolatedProcessWithMappedDirectoryAndExport" with "6" argument(s): "Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))" At C:\Users\Harsimran\Downloads\DesktopAppConverter\converter_util\Sequencer.ps1:140 char:9 + $installerExitCode = [Microsoft.Centennial.Tools.DesktopAppCo ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [],

Support more than one color input in my Pixel Shader (UWP, Win2D)

北慕城南 提交于 2019-12-24 05:33:07
问题 I've been working on an app that can provide Color Replacement, and had a lot of help from @Jet Chopper on a solution. He's provided me the following code which essentially uses a ControlSpectrum control for Source and Target colors. The idea is you specify a Source Color which then gets replaced by a Target color. Here's the current working code: This is my original post that contains the original solution with a GIF. Original Post XAML: <Grid> <xaml:CanvasAnimatedControl x:Name=

Windows 10 Bluetooth Gatt Client ValueChanged issue

霸气de小男生 提交于 2019-12-24 04:34:07
问题 I'm having an issue with Bluetooth Gatt characteristic reading at the moment. I was trying to run the code with my own custom profile thermometerCharacteristic.ValueChanged += temperatureMeasurementChanged; It causes this exception An exception of type 'System.ArgumentException' occurred in mscorlib.ni.dll but was not handled in user code Additional information: Value does not fall within the expected range. My function arguments looks like this void temperatureMeasurementChanged

Universal Windows Platform App with google calendar

我是研究僧i 提交于 2019-12-24 04:09:16
问题 Hey im trying to make an Universal Windows Platform App where google calendar is in it, but i cant figure out how to convert the code, i got the code to work on a WPF App. I am not the best at coding https://developers.google.com/google-apps/calendar/quickstart/dotnet this is the site i use as a guideline in the start if its to any help, any help? Code below: using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using

Entity Framework is installed, but is not accessible

左心房为你撑大大i 提交于 2019-12-24 03:55:17
问题 I have installed Entity Framework 6.1.3 from NuGet in a Class Library (Universal Windows), however I can't seem to access any of Entity Framework's namespaces. I've tried System.Data.Entity. which brings back no intellisense. Also, I've tried simply typing the DbContext class name, and attempted to resolve the name with no luck. Rebuilding, cleaning, restarting Visual Studio doesn't seem to help either. 回答1: Looks like I've solved the issue. As Brendan Green mentioned, Entity Framework 6 does

Drag&Drop File Attribute is ReadOnly

牧云@^-^@ 提交于 2019-12-24 02:47:07
问题 I created an Attached Property which registers the drag and drop events and requests the operations: move, link, copy. UIElement dragablecontrol = d as UIElement; if (dragablecontrol != null) { dragablecontrol.AllowDrop = true; dragablecontrol.DragEnter += Dragablecontrol_DragEnter; dragablecontrol.DragStarting += Dragablecontrol_DragStarting;//does not get fired dragablecontrol.DragOver += Dragablecontrol_DragOver; //e.AcceptedOperation got move, link, copy dragablecontrol.Drop +=