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

Custom renderer depending on Other controls

Hi Xamarin experts, I have a question that really made me spend long time trying to figure out. I got a control for Xamarin Android called QuickAction. I am trying to make a generic shared control in...

View Article


Windows Phone PageRenderer

Is there not a PageRenderer available to inherit from on the Windows Phone platform?

View Article


Internal Class PageRenderer (Windows Phone) - public on iOS

Am I missing something? On iOS and Android i can create a PageRenderer extended class but on Windows Phone the PageRenderer is an Internal and cannot be accessed? Is this by design? Does anyone have a...

View Article

WebView / HybridWebView C# Javascript communication

This has been a long standing pain. The Xamarin.Forms webview does not provide any api to handle C# to Javascript and Javascript to C#. Even after hoping something will be come about after the grand...

View Article

DependencyService not seeing iOS implementation

Hey everyone, I am trying to use DependencyService with the following implementation and on Android it works great, iOS it says there is not a registered service when I do a Get against it. Here's the...

View Article


Listview row is disabled after navigate back

Hi, I use a navigation page with a listview. When a user tabs on a cell, it navigates to another page (using await this.Navigation.PushAsync(). On this detail page, there is a default back button on...

View Article

Async logic before the first page

Hi everyone, I'm building an application in Xamarin Forms PCL and having an issue for the moment and even after reading a lot of threads, i'm not sure how i can do this right. Here's the context of my...

View Article

Is anyone else having trouble with WebView displaying a white screen?

Xaml: <WebView x:Name=webView/> Xaml.cs public WebPage() { InitializeComponent(); this.webView.Source = "www.google.com"; } And I get nothing? Xamarin.Forms version 1.2.3.6257 (latest nuget)

View Article


DnsEndpointIdentity does not exist in System.ServiceModel

Hi I have some code auto generated from a webservice: private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration ==...

View Article


MasterDetailPage title on Android

Hello, I'm using a MasterDetailPage and Under Android, I cannot set title. On startup I get application package name. Title property looks like ignored. Does someone know how to change title ? Thank you

View Article

iOS UITextField left border

Simple question... How can I add a left border to my UITextField's on iOS?

View Article

ListView: Setting background color of viewcell?

Hi I just ran into a funny "problem"/challenge. We are using listviews with grouping enabled. I would like cells in each group to share a common background color. I solved this by using a custom...

View Article

ListViev: scroll to top programmatically?

Hi Just a simple question for your guys. Is there any way to force the listview to scroll to the top of the list? In our application the user is allowed to refresh the items in a list by pressing an...

View Article


Rotate MasterDetail Icon

How to rotate (or translate) MasterDetail Icon when Master is presented? This is native behaviour, like on android PlayStore

View Article

Creating a Horizontal ScrollView with forms.

Hello Xamarin developers, I have been struggling to create a simple horizontal scrollview with Xamarin.Forms to display a sequence of images that I can scroll through horizontally. In the code example...

View Article


Picker within TableView?

I've got a simple form of mostly EntryCell values that works perfectly for a TableView with a Form intent. I'd also like to put a picker within the table to match the layout of the rest of the columns....

View Article

write to a specific xml element

hi, I have a xml file in my forms app. I want to be able to read and write to a specific element of the xml file. <?xml version="1.0" encoding="utf-8" ?>

View Article


get actual Width of a Label (to position vertical text)

How do I get the actual Width of an element such as a Label? When it's autosized, the Width returns -1, which I can't use to position that label. The only reason I need to manually position the label...

View Article

OnModelChanged event not found for android page renderer

Hi, I am building an app with a custom page renderer for android but the method needed cant be found to override: [assembly: ExportRenderer(typeof(GoogleLoginPage), typeof(GoogleLogin_Android))]...

View Article

TCPClient and WebClient alternatives?

Hi, are there any (easy to use) alternatives for the TCPClient(System.Net.Sockets) and WebClient(System.Net) Classes? I need them for integrating the App into an already existing login process(using a...

View Article
Browsing all 58056 articles
Browse latest View live


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