iOS - Forms - XAML : How do I set the width and height of a view ?(Label,...
In the xaml code below, how do I make Label and Entry occupy a certain width and height ? (in % of the screen or pixels) At the moment, the width of Entry depends on how long the text in Label is. More...
View ArticleError adding log4net to a Xamarin Forms solution
I get the following error when I try to add log4net from Nuget. Adding log4net... Adding 'log4net 2.0.4' to FiberChekMOBILE.iOS. Could not install package 'log4net 2.0.4'. You are trying to install...
View ArticleMVVM Pattern without XAML and Fody in Xamarin?
Hello everyone, i would like to know about MVVM pattern without XAML, i dont feel corfortable using XAML, so you guys have experience with MVVM without XAML? i found only this tutorial:...
View Articlemasked entry *Android*
just adding a control I made for Xamarin Forms. still in beta testing but seems to work ok on Android. just giving back for all the great code I have seen from github projects....
View ArticleCreating a BindableProperty to bind with ViewCell
Hi guys, I'm currently working on a crossPlatform app, and i had to create a custom Switch component. the component itself is working just fine, but, it doesn't correct interact with my ViewModel as i...
View ArticleFile not found exception on webresponse (HTTPWEBREQUEST) Get and Post request
I am developing windows app after developing iOS and android application. I am using shared project with iOS android and windows. That shared project contains service layer for sending get and pose...
View ArticleHaving trouble updating a 3rd party component for XF 2.0
Does anyone have a working copy of the signature pad for XF 2.0? I have contacted the author, tried to compile it myself, but no luck so far.
View ArticleHow to show current NavigationStack.Count?
Below is a simple program to become familiar with Navigation. Everything works except the values assigned to Label's Text property. NavigationStack.Count and ModalStack.Count which are always zero. Why...
View ArticleCustom renderer for picker in WP
Hey, Some updates ago this stopped working (it used to work): if (Control != null) { Control.Foreground = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Colors.Black); } Because...
View ArticleSwipe Gesture on Relative Layout
have a Xamarin App which I am trying to add swipe gesture recogniser to a Relative Layout via Custom Renderer. public class MainPageCarouselRenderer : VisualElementRenderer<RelativeLayout> {...
View ArticleHow to add app icons as back button for slide menu in MasterDetailPage -...
Hi, We completed our testing in android and now we have started testing for iOS. Few things needs to be fixed. One of that is, we are using MasterDetailPage for slide menu. In Android it automatically...
View Article[IOS] Bug on IsGestureEnabled of MasterDetailPage
Hello there, currently working on an application where the SideMenu is desactivated on certain page, so i use IsGestureEnabled= false, and true when go back. It works well on Android, but on IOS it...
View ArticleHow to use Material Design Toolbar in Android when building app with Xamarin...
There are tutorials on how to create the newer action bar in Xamarin Android, but I am not able to reproduce the toolbar when creating an app with Xamarin Forms. Somehow it just doesn't work for me. My...
View ArticleXamlC compiles, but throws InvalidCastException: Specified cast is not valid...
Hi, Updated my XF project to 2.0.0.6487 and verified that it's still working. Then I enabled XamlC on the assembly level. Android project builds without issues but dies on my Android 4.3 device in the...
View ArticleHow to raise events on Xamarin Forms custom View from renderer?
How to raise events on Xamarin Forms custom View from renderer? For example: * as renderer is created it might want to trigger sizechanged * or there might be OnRenderFinished event or something...
View ArticleAdding a ContentView in a ContentPage
Hello, I have a ContentPage with a text field and a button. Once the button is clicked I want to load a ContentView under the button. The ContentView has a ListView of stuff I want to display....
View ArticleHow to adjust comportment of StackLayout and its contents?
Hello, I need to "port" a web application on Xamarin for a customer. As this is my first Xamarin.Forms application, I ask me a lot of questions about the design. If I base on the web app, the screen is...
View ArticleHow to find the child controls from StackLayout dynamically ?
I am using Xamarin.Forms (PCL project). I have created the stacklayout with some child controls. How can I get any control from this stacklayout dynamically (like findbyName , findbyID or Type) ?
View ArticleSpelling Error in Preview 2 Book
Just starting to read the Preview Edition 2. This second Preview Edition was reconceived to contain shorter and more focused chapters. After the book establishes a solid foundation in code-only...
View Article