uwp

How to remove UWP Cordova (Ionic) title bar arrow, and perhaps app title?

寵の児 提交于 2019-12-23 04:46:06
问题 I have a Cordova (Ionic 2) application running on Windows 10 (UWP), I am using Visual Studio 2017 to build the Cordova project. The hosting window as an arrow, which looks completely out of place, especially if when I am in child views and the Ionic status bar already has a back arrow. Here the arrow I am talking about Does anyone know how to remove or hide this? Also maybe the application title (though this is not as big a issue) Thanks in advance! As suggested by @Sunteen Wu - MSFT, the

SWIG - C# Calling from UWP Background Task or Extended Execution

那年仲夏 提交于 2019-12-23 04:43:47
问题 I wonder if anyone has tried calling a swig C# wrapper around a C++ library from a UWP Background Task, Extended Execution, or Activation Trigger? My C# swig wrapper provides functionality written in C++ which handles network calls to services such as cloud etc. It might download or upload files such as documents, images, etc or it might just synchronize them with local on machine copies. I have been doing lots of reading/research lately on the topic of Background Activation and Foreground

UWP ListView: How to expand an item when select it?

允我心安 提交于 2019-12-23 04:37:09
问题 I have a listview containing some item. And I want to expand the item to show detail information when I select one item, what should I do? 回答1: I didn't check the CustomControl carefully which provided by @AVK Naidu, which is good and seems can solve your problem. But I need to say here, it is totally possible to do this work with the default ListView control, what you need is just changing the DataTemplate for your ListViewItem when it is selected. Just for example here: <Page.Resources>

Is the Windows App Store required for a UWP application?

半世苍凉 提交于 2019-12-23 04:15:16
问题 If it is, how can I use it to develop something in-house? I don't want it on the store. It should never be seen outside of the Enterprise. Edit: Is sideloading the only way? 回答1: I don't want it on the store. It should never be seen outside of the Enterprise. Sideloading is not the only way for the employee in your enterprise to acquire your app. You can also publish your app through Windows Store for business so that you can manage and distribute your package more conveniently. Just change

UWP Get selected nodes from TreeView control

主宰稳场 提交于 2019-12-23 03:14:31
问题 How do you get the currently highlighted/selected node from a TreeView control? Based on the documentation here it should be possible to iterate through the control's SelectedNodes property but its always empty. EDIT: This turns out to be an actual bug with XAML, tracked here. Until it's fixed, the accepted answer does fine as work-around. Context: I'm working on a simple demo application to explore the TreeView control. I'm trying to add a keyboard shortcut to delete the currently active

UWP Get selected nodes from TreeView control

谁说胖子不能爱 提交于 2019-12-23 03:14:04
问题 How do you get the currently highlighted/selected node from a TreeView control? Based on the documentation here it should be possible to iterate through the control's SelectedNodes property but its always empty. EDIT: This turns out to be an actual bug with XAML, tracked here. Until it's fixed, the accepted answer does fine as work-around. Context: I'm working on a simple demo application to explore the TreeView control. I'm trying to add a keyboard shortcut to delete the currently active

How to get image from RichEditBox

廉价感情. 提交于 2019-12-23 03:09:44
问题 I have a RichEditBox in which I have already inserted an image through code. Now, I want to get the inserted image after some process. Is there any way to get image from RichEditBox? Any help would be greatly appreciated!! 回答1: I found two old question here that may help you. Extracting images from RichTextBox Extract Embedded Image Object in RTF 来源: https://stackoverflow.com/questions/44393353/how-to-get-image-from-richeditbox

Can a Silverlight out-of-browser app be converted to Universal Windows Platform (UWP) app?

梦想与她 提交于 2019-12-23 03:01:20
问题 This article from Microsoft: Guide to Universal Windows Platform (UWP) apps states that you can convert your classic desktop application (like Win32, Windows Forms, and WPF) or game to a Universal Windows Platform (UWP) app or game . Can the same be achieved for a Silverlight out-of-browser application? 回答1: Unfortunately there is no easy and fully automated way to port your Silverlight app to UWP mostly because the API footprint has changed and updated between the 2 platforms. There are a

Use ZXing.Net.Mobile result.text as input for WebView

梦想与她 提交于 2019-12-23 02:56:12
问题 i currently try to create a Barcode scanner UWP App for Windows 10. The purpose is that i want to use the scanned Barcode as input for a web search. I used the well documented ZXing.Net.Mobile package and I already got the scanner running in the app. The scanner starts, the Barcode is scanned and the result is displayed in a message box. I used the following line of Code in the MainPage.xaml.cs: MobileBarcodeScanner scanner; public MainPage() { //Create a new instance of our scanner scanner =

UWP/WinRT: How to enable undo hooks on a TextBox?

怎甘沉沦 提交于 2019-12-23 02:53:43
问题 The TextBox class already supports undo, as it is present and functional in the context menu. I would like to implement undo/redo buttons as found in every common document editor such as Microsoft Word. They would be disabled when they have no action to take, and when there is an undo/redo stack to move through, pressing the buttons would cause the TextBox's contents to undo and redo. Looking at the TextBox API, there doesn't seem to be any mention of how to hook into the undo data. The only