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

Whats the possible reason and solution for Unknown MSBuild Error ?

Hi all, Need to ask, whats the possible reasons that this error occured, i get this error the next morning when i try to recompile my solution. I tried rebuilding everything , cleaning whole project...

View Article


Changing the navigation bar icon within a PCL

Hello, With the image loaded in the Android project 'Resources/icon.png' as 'AndroidResource' or 'EmbeddedResource' and loaded like this: this.Icon = "icon.png"; It just does not change anything. What...

View Article


android gps blink

We have developed an app with Xamarin Forms which utilized the maps, regarding the Android version we find that when the app is put in the background android gps icon blinks until you delete it...

View Article

Image may be NSFW.
Clik here to view.

How do you toggle between two views?

We have a ListView with two possible item layouts, how do we toggle between them? We tried using the IsVisible property, but when the 2nd StackLayout is invisible, it still allocates its height onto...

View Article

Navigation Page in Tabbed Page

public class mainNav : TabbedPage { public mainNav () { Children.Add(new NavigationPage (new Page1 ()) { Title = "1", BarBackgroundColor = Color.FromRgb (255, 69, 0), BarTextColor = Color.White, });...

View Article


"Invalid cross-thread access" exception thrown when assigning value to...

When I attempt to set the Source property on an Image element, an UnauthorizedAccessException exception is thrown. The message is "Invalid cross-thread access." and this is the stack trace: at...

View Article

The type `MonoTouch.UIKit.UIViewController' is defined Error when I convert...

I have created a new Xamarin.Forms.Portable project. After that I wanted to convert MYProjectName.IOS to Unified by going to Project > Migrate to Xamarin Unified API So I did that and removed all...

View Article

Error CS0012: The type 'System.ComponentModel.INotifyPropertyChanged' is...

My first attempt to use Xamarin.Forms and I've his several issues, most of which I've worked around but the latest I cannot find a solutions for, When compiling the sampe code on...

View Article


PopToRootAync broken in 1.2.3 pre-3

I am getting a Null Ref error at at Xamarin.Forms.Platform.iOS.NavigationRenderer+ParentingViewController.ViewDidLayoutSubviews () [0x00000] in :0 at (wrapper managed-to-native)...

View Article


Hint where to find samples

Hello, Is there any repository beside the offical sample gallery where you could find samples concerning Xamarin Forms? For example, where do I find a sample for the new context mechanism of Listviews?...

View Article

Cannot clean build

I use the latest Xamarin and vs2013 , when I try to modify my code and test, I find the change cannot be applied. It seems the build cache cannot be cleaned. How to fix this problem?

View Article

Bindable Height of RowDefinition

Hi! Just want to clarify, is the Height property of RowDefinition supposed to be bindable or not? The documentation* states that it is a bindable property. I tried with the XAML below where...

View Article

1.3 update and list view/table view heights

After the 1.3 update, all my list views and tables are expanding taking up far more vertical room than the previous version of Xamarin.Forms. Is there a way to instruct the list view and table view to...

View Article


Application level resource dictionary

Hi all, I was wondering, in this post http://forums.xamarin.com/discussion/25612/xamarin-forms-1-3-0-technology-preview/p1 one of the features listed was "application level resource dictionary". This...

View Article

IsNotBusy Binding?

I often find myself needing to set the visibility of a UI element to something like, "IsNotBusy" (Save Button should disappear when the page IsBusy for example) savebutton.SetBinding(IsVisibleProperty,...

View Article


Like an [hr] line as a View?

I'm looking for a simple way to add a view that is a line to a form. My client wants something "like a: hr line " in the form. Ideas?

View Article

Can I get the XML from a dynamically modified RelativeLayout?

Thanks in advance... I allow users to drag/drop views onto a RelativeLayout to create 'presentations'. I would ideally like to extract the resulting xml so the presentation can be saved to a fragment...

View Article


Xamarin.Forms.ElementCollection implementation and WP problem

I have a form with a StackLayout. I add a few Views (Entry, DateTime, etc.) and show the form. If I call the StackLayout's "Children.Remove" on one of the views and then try to add it again I get the...

View Article

In Android, ScrollView below StackLayout scrolls into above StackLayout

I have the following XAML: <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="XamarinFormsZIndexError.ErrorPage"...

View Article

Creating and Loading XAML dynamically at application's runtime in Xamarin.Forms

Hi, Is it possible to Create and Load XAML file dynamically at application's runtime in Xamarin.Forms to create the application's UI ? As it's possible in WPF. I have also noticed this thread which...

View Article
Browsing all 58056 articles
Browse latest View live


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