windows-10-universal

Windows 10 universal app - Run in fullscreen mode by default

孤街醉人 提交于 2021-02-07 11:58:19
问题 I have application with target windows 8.1 and when I run this application on Windows 10, it is run in small window by default. Because it is primary tablet application I need it to run in full-screen mode by default. Is it possible to set it somewhere in Visual Studio or in some config of the application? 回答1: To launch application in full screen mode, try setting ApplicationView.PreferredLaunchWindowingMode as early as in App.xaml.cs 's constructor public App() { ApplicationView

Problem when restart app on kiosk mode windows 10

旧巷老猫 提交于 2021-02-07 10:33:20
问题 We are developing a POS application which will be setup at our stores. This app is an UWP application which run on Windows 10 IOT LTSC Kisk Mode and we decided to deploy by using side-loading. In order to improve the update process, we have try using this library to implement the application update feature https://github.com/Dwrandaz/AutoUpdateComponent On desktop mode, It works well with out any problem. After update process, the application will be restarted and the new version will be

Windows 10 Mobile height of soft keyboard

流过昼夜 提交于 2021-02-07 09:23:36
问题 Does anybody know how to move content of the page (maybe set relative margins or something like that) when soft keyboard is shown. Here is the example page from my application. So I want when the user starts typing a phone number in the text box the bottom button will be shown above the soft keyboard. As a result I want something like that: P.S: Sorry about Russian language on the screens. 回答1: It's kind of tricky, but as I've tried should work. I've used InputPane's showing and hiding events

How to define conditional compiler symbols for specific sdk in uwp

不想你离开。 提交于 2021-02-05 11:26:26
问题 I'm writing a UWP app in Visual Studio 2015. Minimum sdk is 10240. Maximum is 14393. I want to write sdk specific code, so I want to define a conditional compilation symbol. I can simply define it in the project properties window under build tab. But where I can define the condition? Simply what I want to archive is this. I have define a symbol in build tab 'SDK_14393'.. then I have some code like this which I want to execute only in 14393 sdk, #if SDK_14393 //some code here #endif But it

Disable pointer mode for webview in Xbox UWP

…衆ロ難τιáo~ 提交于 2021-01-29 04:24:55
问题 Is there a way to disable pointer mode for WebView in an Xbox UWP app? I cannot use the RequiresPointer property since WebView is extended from FrameworkElement and not from Control . This is my sample XAML: <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> <WebView Source="http://stackoverflow.com/" Height="300" Width="500" /> </Grid> Please find the pointer marked in the image below. I have provided RequiresPointerMode = ApplicationRequiresPointerMode.WhenRequested; in

Disable pointer mode for webview in Xbox UWP

感情迁移 提交于 2021-01-29 04:23:41
问题 Is there a way to disable pointer mode for WebView in an Xbox UWP app? I cannot use the RequiresPointer property since WebView is extended from FrameworkElement and not from Control . This is my sample XAML: <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> <WebView Source="http://stackoverflow.com/" Height="300" Width="500" /> </Grid> Please find the pointer marked in the image below. I have provided RequiresPointerMode = ApplicationRequiresPointerMode.WhenRequested; in

No suitable transform was found to encode or decode the content error

≯℡__Kan透↙ 提交于 2021-01-28 23:30:50
问题 I am working with audio recording in windows 10 universal app, i found code here when i run that code it showing "No suitable transform was found to encode or decode the content" error, in phone any one please help me to resolve this issue. 回答1: when i run that code it showing "No suitable transform was found to encode or decode the content" error If you refer to MediaEncodingProfile.CreateMp3, you will see the following paragraph. Note While it is technically possible to call CreateMp3, you

How to update Windows 10 UWP store certificate

大憨熊 提交于 2021-01-28 09:38:14
问题 I have a Windows 10 UWP application deployed to the Windows store. When I now build, I get warning APPX0108: The certificate specified has expired. For more information about renewing certificates, see http://go.microsoft.com/fwlink/?LinkID=241478 It has been a while so that is fine, so I want to renew. Going to the link, and to the section Renewing a certificate , steps 3 and 4 say to choose "Create Test Certificate". But I don't want a test certificate, I want one I can use to build and

UWP Windows-10 Better way to load images

Deadly 提交于 2021-01-28 03:48:08
问题 I have a C# app targeting Windows UWP Desktop. The app displays list of images. When user clicks on any of the image in the List View, app would enlarge(detailed view) it & show the image(kind of full screen as the image size is bigger). Whenever I click any image in the list view, the image in the detailed view first shows the previously loaded image & then it refreshes & load's the image from the current selection I want to know how to prevent loading the previous image until, new image is

Test whether the pointer is over a UIElement

删除回忆录丶 提交于 2021-01-27 21:20:22
问题 In WPF I can easily test whether the mouse is over a UIElement : System.Windows.UIElement el = ...; bool isMouseOver = el.IsMouseOver; I want to do the same in WinRT, but there seems to be no equivalent to IsMouseOver for a Windows.UI.Xaml.UIElement . Windows.UI.Xaml.UIElement el = ...; bool isPointerOver = ??? As a workaround, I can add two handlers, for the PointerEntered and PointerExited events, but I'm looking for a more direct solution. 回答1: In uwp the UIElement doesn't have a property