xamarin.uwp

How can I play all videos in a play list in turn?

社会主义新天地 提交于 2019-12-11 04:47:49
问题 I use Xamarin.Forms VideoPlayer. How can I implement playing all videos in a youtube playlist in turn? It would be also good to be able to display the videos' thumbnails as carousel to let the user switch from video to video. I tried this: <video:VideoPlayer x:Name="videoPlayer" Source="https://www.youtube.com/watch?v=Jwcgm5VYV- U&list=PLyjPaKJQuCEzqQKdA8FsQdsJ77XbjKkBH" /> But got an error: Error: Unsupported video type or invalid file path. I found plugin.youtube on NuGet, but it doesn't

After Creating Package in Xamarin UWP, Video is Playing Only With Voice, I am Not able to see Video

社会主义新天地 提交于 2019-12-11 04:03:57
问题 I am using MediaManager Plugin with latest version to play a video. everything works fine when i run application in debug mode, but when i create a package for window, video is not showing only voice is heard. I am using below Package Plugin.MediaManager.Forms This is My XAML page <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Digi_Sign.Views.MediaScreen" xmlns:forms="clr-namespace:MediaManager.Forms;assembly

display local PDF file in webview control - Displays Blank Pdf File

ぃ、小莉子 提交于 2019-12-08 06:34:19
问题 I am working on Xamarin Forms - UWP. I want to display local PDF file in webview control. I followed these 2 links :- https://developer.xamarin.com/recipes/cross-platform/xamarin-forms/controls/display-pdf/ Xamarin Forms UWP - Display PDF It opens the pdf file but content is all blank. Can anyone please help me in what I may be missing? Thanks in advance! Here is my code:- CustomWebView.cs public class CustomWebView : WebView { public static readonly BindableProperty UriProperty =

Xamarin UWP - How to get rid of border that appears when hovering over button

故事扮演 提交于 2019-12-08 04:57:02
问题 I'm working on a Xamarin.Forms mobile app. In the UWP version, when I hover over a button, a ~2px gray border appears: The problem is: when not hovering, the border goes away, leaving that amount of space now empty (or perhaps the border becomes transparent), causing the button to look slightly out of alignment with elements above it. How do I get rid of that border altogether (when hovering and not hovering)? I'm using a custom renderer ( ButtonExt : Button ), and in the default styles in

Drop shadow is above the text

白昼怎懂夜的黑 提交于 2019-12-08 02:56:26
问题 I'm adding a drop shadow to a Xamarin.UWP project (but the question is not really Xamarin-specific but UWP in general): bool IsShadowSupported => ApiInformation.IsApiContractPresent("Windows.Foundation.UniversalApiContract", 3); // SDK >= 14393 if (IsShadowSupported) { var compositor = ElementCompositionPreview.GetElementVisual(Control).Compositor; dropShadow = compositor.CreateDropShadow(); if (Control is Windows.UI.Xaml.Controls.TextBlock textBlock) dropShadow.Mask = textBlock.GetAlphaMask(

Rounded corner for Entry - Xamarin forms UWP

泄露秘密 提交于 2019-12-08 00:13:21
问题 Is there anything possible to customize the radius of Entry to having a slightly rounded corner? 回答1: You can use Custom Renderer in xamarin.forms in iOS //... using App11; using App11.iOS; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; [assembly: ExportRenderer(typeof(MyEntry), typeof(MyiOSEntry))] namespace App11.iOS { public class MyiOSEntry:EntryRenderer { protected override void OnElementChanged(ElementChangedEventArgs<Entry> e) { base.OnElementChanged(e); if (Control != null) {

Xamarin Form - How To checked the checkbox on another check box checked in UWP

扶醉桌前 提交于 2019-12-06 14:01:01
问题 My application displays the fetures permissions on DataGrid from database. For realizing this I am using the MyToolkit.Controls.DataGrid . Now i want output for if user checked the admin or update/delete/create check box then View and list check box checked vice versa same for the and also i want to set checkbox checked value from database. thanks in advance. Image if user checked the create/update/delete then same row list and view should be checkbox checked if user checked the view check

Irritating blank space between Title Bar and Tabs in Xamarin.Forms UWP project

余生长醉 提交于 2019-12-06 02:43:38
I'm practically new to Xamarin.Forms and I'm developing a rather simple cross-platform application. The app displays good enough in Android, but in UWP there is a stupid blank space. The project consists of a TabbedPage with 4 NavigationPages inside it, in order to push and pop pages inside them. After a little digging into UWP platform specifics, I was able to change the style of my tabs. I've been looking 3 days now for a solution, and it's driving me crazy. The only solution that I have found so far (with the help of Live Visual Tree from VS 2015), is to change the Visibility property to

Xamarin.Forms UWP - How to hide or change color of Picker / ComboBox dropdown arrow

こ雲淡風輕ζ 提交于 2019-12-06 01:53:44
I'm working on a Xamarin.Forms project for UWP right now, and I'm using a custom renderer for Pickers. I'm actually overlaying the Picker on top of a label and icon so that when the user clicks the label/icon, it opens the picker. In order to accomplish this, I'm basically setting everything on the picker to transparent - the border, text, and background. The picker still functions just fine, and all picker elements are invisible, except the picker arrow is still visible. How do I affect the color of the picker arrow (in order to make it transparent), or just get rid of it altogether? Getting

Xamarin Form - How To checked the checkbox on another check box checked in UWP

若如初见. 提交于 2019-12-04 18:30:17
My application displays the fetures permissions on DataGrid from database. For realizing this I am using the MyToolkit.Controls.DataGrid . Now i want output for if user checked the admin or update/delete/create check box then View and list check box checked vice versa same for the and also i want to set checkbox checked value from database. thanks in advance. Image if user checked the create/update/delete then same row list and view should be checkbox checked if user checked the view check box then selected row column list should be checked Datagrid xaml <Toolkit:DataGrid.Columns > <!--Feature