uwp

UWP Xbox One page navigation when using WebView

蓝咒 提交于 2020-01-15 10:03:44
问题 Usually when running a UWP app on Xbox the B button on the controller is handled automatically and will return you to the previous page. I have a page which contains a WebView, when you use the directional buttons to place the focus box around that control, the B button no longer responds. You can use the A button to take control of the WebView and display the pointer and the B button then will return focus back as above but I cannot navigate back using the B button until you move the focus

UWP Xbox One page navigation when using WebView

青春壹個敷衍的年華 提交于 2020-01-15 10:03:23
问题 Usually when running a UWP app on Xbox the B button on the controller is handled automatically and will return you to the previous page. I have a page which contains a WebView, when you use the directional buttons to place the focus box around that control, the B button no longer responds. You can use the A button to take control of the WebView and display the pointer and the B button then will return focus back as above but I cannot navigate back using the B button until you move the focus

How to access the Rectangles width/height via C# code

狂风中的少年 提交于 2020-01-15 09:44:11
问题 I have this page resource for my sliders. But I need to scale the thumb rectangles through the code behind in C#. How can I access the rects for the thumb definitions? <Page.Resources> <Style TargetType="Slider"> <Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" /> <Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" /> <Setter Property="ManipulationMode" Value="None" /> <Setter Property="UseSystemFocusVisuals" Value="True" />

Font style is not affected in Mobile view in UWP

回眸只為那壹抹淺笑 提交于 2020-01-15 09:43:27
问题 I am working on windows universal platform app for windows-10.I designed my whole app and use a two font style in whole application. 1)Utsaah 2)Raavi both font family properly working in desktop and tablate view.But when i run my app in emulator (Mobile view) that time both fonts are not affacted to my textblock means default font of mobile initialize so please suggest me a solution . I just attached screenshot also code. Code: <Grid HorizontalAlignment="Stretch"> <Grid.ColumnDefinitions>

The type 'Attribute' is defined in an assembly that is not referenced - Xamarin

南楼画角 提交于 2020-01-15 08:25:12
问题 After I upgraded the Xamarin.Forms version in my Xamarin Forms PCL project from 2.x to 3.x I got the following error message which prevent me from building the UWP project. The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' The strange thing about this is that I could build the Android and iOS projects. Any ideas what I could do to get the UWP project

The type 'Attribute' is defined in an assembly that is not referenced - Xamarin

你说的曾经没有我的故事 提交于 2020-01-15 08:24:02
问题 After I upgraded the Xamarin.Forms version in my Xamarin Forms PCL project from 2.x to 3.x I got the following error message which prevent me from building the UWP project. The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' The strange thing about this is that I could build the Android and iOS projects. Any ideas what I could do to get the UWP project

Hide or Show stackpanel of ListViewItem with VisualStateManager

回眸只為那壹抹淺笑 提交于 2020-01-15 06:50:28
问题 I'm not really familiar with the VisualStateManager in C# UWP, and I need your help to hide or show a stack panel in my ListViewItem . <ListView.ItemTemplate> <DataTemplate> <Grid Width="500"> <Grid.RowDefinitions> <RowDefinition /> <RowDefinition /> </Grid.RowDefinitions> <StackPanel Orientation="Horizontal"> <Image Height="45" Width="45" Margin="0,8,0,8" Source="../../Assets/ViewBox.png" Stretch="UniformToFill"/> <StackPanel Orientation="Vertical" VerticalAlignment="Top" Margin="8,8,0,0">

(UWP) Save Grid as png

天涯浪子 提交于 2020-01-15 05:58:08
问题 I'm developing a UWP app that has a Grid with childs, Image and TextBlock. I have 2 things I would like to achieve and need help with. How do I save the Grid element along with it's child contents as an image(preferably PNG) in the local folder with a predefined name? How do I retrieve this saved image back and then include it as an attachment to share with other compatible apps? Example: <StackPanel Orientation="Vertical"> <Grid Name="myGrid" HorizontalAlignment="Stretch" Background="Black">

(UWP) Save Grid as png

本小妞迷上赌 提交于 2020-01-15 05:57:51
问题 I'm developing a UWP app that has a Grid with childs, Image and TextBlock. I have 2 things I would like to achieve and need help with. How do I save the Grid element along with it's child contents as an image(preferably PNG) in the local folder with a predefined name? How do I retrieve this saved image back and then include it as an attachment to share with other compatible apps? Example: <StackPanel Orientation="Vertical"> <Grid Name="myGrid" HorizontalAlignment="Stretch" Background="Black">

UWP How to hide the app?

匆匆过客 提交于 2020-01-15 03:55:15
问题 In my application their is one option to hide the app. Whenever user clicks on hide the app window as well as the app icon from task bar should be get hidden. How to achieve this in UWP? 回答1: This feature is not supported (yet) on UWP. If you look at the UWP Skype, it always remain visible from the taskbar along with all the other apps. A UWP app cannot register by itself a global shortcut to be launched. Minimized UWP applications are suspended by the OS when it wants/needs and will not be