Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Browsing all 77050 articles
Browse latest View live

Navigating to one of the tab in my Xamarin Forms app is flickering and then...

Navigating to one of the tab in my Xamarin Forms app is flickering and then the apps shut down. Please help public partial class SoccerDailyStatus : ContentPage { private SQLiteConnection conn;...

View Article


Get the Selected Item when clicking a Button within Listview

I want to be able to click the button in the Listview and get the selected item corresponding value. I don't want to tap the item in the list, I want it operated by the button only. How can I do this?...

View Article


ContentPage backgroundcolor style in App.xaml does not work

I'm trying to style each ContentPage instance so that the background color is set to a particular color. <Application.Resources> <ResourceDictionary> <Style TargetType="ContentPage">...

View Article

XF 4: CollectionView GridItemsLayout with bindable Span property

When I try and bind the GridItemsLayout Span property to the ViewModel, it doesn't work. See sample project (open CollectionViewPage from landing page):...

View Article

Image may be NSFW.
Clik here to view.

Setup style for label

I have many labels with needs the same style, which is different for each platform. Right now I have this code: But I have to set all the labels with this. Is there a way to define a style and ref it...

View Article


Implement tool tip

Could someone help me with how to Implement tool tip functionality on entry. **use case: ** when the user click the cursor inside the entry, it should show the tool tip as Please enter the Info here....

View Article

SKImage Refresh Problem

I have a page where a Picker is used to change a drawn display using an SKCanvasView. The view changes as expected but I wanted to add a feature to allow the user to save the image as a PNG when the...

View Article

Azure app service - Running Xamarin project (Xamarin.Forms) with SQL Azure

Hello. I’m trying to run the the Xamarin project downloaded from the Azure App Service (Deployment --> Quickstart --> Xamarin.forms). When the app service is configured with sqllite, everything...

View Article


Image may be NSFW.
Clik here to view.

Problem With Printing WebView in UWP Phone

Unable to print WebView in xamarin forms. I am making use of dependency service to print webview, it works fine in android and iOS but somehow page get cropped in UWP. Following is the code and...

View Article


How to trigger "Focused"of a Object in Android(Xamarin.forms)

How to trigger "Focused"of a Object in Android I am troubled by this problem for a few days, I want to run some codes when object Frame /Button /Label been clicked and after user click onther object.So...

View Article

Show only Month and Year in Date Picker

Hello, I need to allow user to enter their credit card expiration date. For this I have to show them date picker with only month and year options. I am using format="MM-yyyy", but no luck. Can anyone...

View Article

MVVM - Performing an action in ViewModel from page OnAppearing

I've got a full MVVM implementation which is working nicely, for a project which communicates with BLE devices. My problem is that I want to delay connecting to the device until the Page is appearing,...

View Article

Cannot change Navigation page barbackgroundcolor programmatically

Hi Wondering if is possible to change the navigation bar background programmatically without using renderers. I have an app that uses prism not that matters . I have a masterpage and in my app.xaml I...

View Article


Application.LogWarningsToApplicationOutput obsolete?

I used Application.LogWarningsToApplicationOutput (https://blog.verslu.is/xamarin/xamarin-forms-xamarin/logwarningstoapplicationoutput-xamarin-forms/) but I now get a message telling me that it is...

View Article

Xamarin.Forms and OxyPlot running together on .NET Standard 1.4

I know that currently OxyPlot is not supporting .NET Standard 1.4. But after I upgraded my solution to run on top on .NET Standard 1.4 I am having difficulties deciding what plotting tools to use...

View Article


[Xamarin.LiveReload] Any plan to support Tizen?

Hi all, I've been trying to use Xamarin.LiveReload for Tizen platform, and it seems like System.NET.Mqtt and Xam.Plugin.DeviceInfo which are referred by Xamarin.LiveReload are causing the problems....

View Article

UI loads on double click - iOS only

This happens only to some of my pages and on iOS only. When I click on a button which should open new page it calls InitializeComponent(); of the page but does not call OnAppearing() until I click...

View Article


Image may be NSFW.
Clik here to view.

Define layout sizes in inches with IDisplay extension (code only)

I am not sure if there is built in functionality in Xamarin Forms for specifying layout dimensions in device independent way and the Device.OnPlatform method seemed very cumbersome and unpractical to...

View Article

Just upgraded Forms to 4.0.0.394984-pre10 and I get "Active Shell Item not set"

Hi, I don't know where the error occurs. The log shows this: D/Mono (24329): Assembly Ref addref Xamarin.Android.Support.Fragment[0xe19321c0] ->...

View Article

Animations are not smooth

I'm animating a Grid with a StackLayout and a ListView as its children. The animation is similar to a page push/pop animation and provided by the TranslateTo() method. The problem is the animation is...

View Article
Browsing all 77050 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>