win-universal-app

Change button style in Universal Windows Platform

空扰寡人 提交于 2019-12-13 11:36:00
问题 I've tried to make a simple C# UWP application and I don't know how to remove the gray background when my mouse is over the button. How I do that? (remember: it's an UWP for Windows 10 platform , not Windows Phone 8.1 or WPF) 回答1: Follow these steps: Rightclick in the Solution Explorer and add a new item of kind "ResourceDictionary" Copy the Default Style of the Button you can find it on this webpage, you need to scroll down a little bit: Msdn Then insert it in your ResourceDictionary.xaml

Hub Tiles (In App Tiles) Windows Phone 8.1 (Universal Apps)

时光毁灭记忆、已成空白 提交于 2019-12-13 07:58:38
问题 Basic Requirement - Displaying In App tiles in Universal Apps. I have gone through samples of Hub Tiles from the following link Hub Tiles which applies to Windows Phone 7 and 8, 8.1 (Silverlight), but there is no mentioning of windows Phone 8.1 (Universal Applications). Even if i include the assembly separately it throws an error that Microsoft.Phone cannot be resolved. As a work around I have even downloaded the source of hub Tiles from Windows phone Toolkit Source and resolved the

Background Agent in UWP

对着背影说爱祢 提交于 2019-12-13 07:13:27
问题 In Windows 8.1 and WP 8.1, there was a slight difference between the way Background Agent used to work: WinRT: In WinRT, in most cases the OS will not terminate the background agent when the background agent exhausts its quota. Instead it will simply suspend the agent and allow it to continue later. The suspension is done without any warning like an event being raised or callback called. The OS will not stop the background agent when it becomes idle (for example when waiting for a command to

Compilation of Release configuration fails (ILT0005)

╄→гoц情女王★ 提交于 2019-12-13 07:13:16
问题 I've updated Visual Studio 2015 to Update 2 recently. Since then, I'm not able to compile my already published app anymore. Even a new blank UWP project does not compile. I get the following error message: ILT0005: "C:\Program Files (x86)\MSBuild\Microsoft.NetNative\x86\ilc\Tools\nutc_driver.exe @"C:\Users\locked\documents\visual studio 2015\Projects\App1\App1\obj\x86\Release\ilc\intermediate\MDIL\App1.rsp"" Exitcode -1073740791 I completely uninstalled all Visual Studio relevant components

ContentDialog in UWP, bad scrolling behavior

て烟熏妆下的殇ゞ 提交于 2019-12-13 07:05:38
问题 I've created this ContentDialog with a tall StackPanel on purpose, but even though the contents are inside a ScrollViewer, the content appears clipped when it doesn't have enough space. What's going on there? <ContentDialog x:Name="ContentDialog"> <ScrollViewer> <StackPanel> <Button>Hola</Button> <Button>Hola</Button> <Button>Hola</Button> <Button>Hola</Button> <Button>Hola</Button> <Button>Hola</Button> <Button>Hola</Button> <Button>Hola</Button> <Button>Hola</Button> <Button>Hola</Button>

Hide GridViewItem and reposition items in GridView

拟墨画扇 提交于 2019-12-13 07:03:12
问题 As you can see above, I need it to reshuffle itself into alignment. Obviously the items still exist, is there a way to completely ignore them? I have an ObservableCollection: public static volatile ObservableCollection<MyVideo> MyVideoModels = new ObservableCollection<MyVideo>(); This gets filled with the MyVideo objects. Binding it to my GridView like so: public VideosFoundView() { this.InitializeComponent(); this.AddVideoFolderGridView.ItemsSource = VideosFoundView.MyVideoModels; } The

How to expand a ListView Item on SelectionChanged event in Windows 10?

本小妞迷上赌 提交于 2019-12-13 06:22:31
问题 I am currently working with Windows 10 and I am using a ListView to display items based on my requirement. Now I want to expand ListView on the same page when User clicks on ListView Item and provide him with some options to make user experience easy. I am aware on how to implement ListView and display items using DataTemplate but I am not sure whether I can achieve my requirement using ListView. I want to achieve something like below: I want to display options like Contact, Add photo, etc on

VisualState commonState doesn´t work xaml

不打扰是莪最后的温柔 提交于 2019-12-13 05:59:05
问题 I have this XAML view. The VisualStateGroups for the visual triggers works fine, but the VisualStateGroup for the common states doesn't. I try assign to a rectangle in the beginning and then neither work. In other views this works fine .. :( <view:NavigationStoredPage.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="/Styles/ResponsiveStyles.xaml"/> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </view:NavigationStoredPage

Run Camera App of Windows 10 from Desktop Application

杀马特。学长 韩版系。学妹 提交于 2019-12-13 05:49:29
问题 I need to just run default camera app of windows 10 in c#. I tried different methods like: process.start("camera.exe"): ms-camera:// microsoft.windows.camera But all failed. It is not a store app so I cannot use " launch URI " method. 回答1: Use this to launch the Camera app: Process.Start("microsoft.windows.camera:"); 回答2: The Camera app is a Universal Windows app, so you cannot simply execute an *.exe. Use the registered protocol as shown by Nasreddine or this approach via

Universal Windows App Visual Studio 2015 Community no designer, no controls in toolbox, no properties

一世执手 提交于 2019-12-13 05:48:14
问题 I am using Visual Studio Community 2015 to create Universal Windows App. I am facing following problems- 1. No designer view. 2. No controls in toolbox. 3. Property window don't show any properties of control. 4. No phone emulators are shown after installing EmulatorSetup.exe Visual Studio Installed Components are as follows Microsoft Visual Studio Community 2015 Version 14.0.24720.00 Update 1 Microsoft .NET Framework Version 4.6.01055 Installed Version: Community Visual Basic 2015 00322