Creating a ContentView (UserControl) and using a DataTemplate
WARNING: Windows Phone speak below I'm creating custom ContentView and am trying to do the equivalent of TemplateBinding in a ContentTemplate to a DataTemplate in a ContentControl. Creating Bound...
View ArticleList inside ListView
Can someone suggest how I can create a list of objects that contains a list of object? In xaml LoadList.ItemsSource = ViewModel.Loads; LoadList.ItemTemplate = new DataTemplate(typeof(SelectLoadCell));...
View Articlehow to use bindingcontextchanged property in xamarin.forms?
how to change the binding of model using bindingcontextchanged property
View ArticleTo XAML or C#
I used to build every MSFT interface application using XAML for everything. I learned everything can be done using XAML. So, my question now is can everything be done in Xamarin.Forms using XAML? I...
View ArticleCustom DatePicker
Hi guys, How can I customize datepicker control to make the year picker hidden? I've googled some but most of them are in Java code. I need codes in CSharp. Thanks in advance.
View ArticleDynamically inserted View is pushing other View out of Screen [Android]
Hi everyone, I have a MasterDetailPage where the Detail looks like this: SearchBar (not visible at the beginning) Header WebView Advertisement Everything inside of a StackLayout. As said above the...
View ArticleHow can I do the equivalent of "float: right" with vertical centering using...
Let's say I have three views, left, middle and right, and I want to align them as this If I use a StackLayout, I can't align the right element to the right. Even if I set its XAlign = TextAlignment.End...
View ArticleCannot find class ValueAnimator when running app on android virtual emulator...
Hi guys, today I have a strange bug. Whenever I try to debug my app on the android virtual emulator I get this exception Java.Lang.ClassNotFoundException: android.animation.ValueAnimator in loader...
View ArticleException message while navigating to a page
Can anybody explain me what does this below exception means and how can i resolve this. 09-12 06:39:12.086 I/MonoDroid( 2142): UNHANDLED EXCEPTION: Android.Content.Res.Resources+NotFoundException:...
View ArticleException message while navigating to a page
Can anybody explain me what does this below exception means and how can i resolve this. 09-12 06:39:12.086 I/MonoDroid( 2142): UNHANDLED EXCEPTION: Android.Content.Res.Resources+NotFoundException:...
View ArticleXam Forms Labs ServiceStackV3 nuget issue on WP
Hi, just trying out XFL and have copied the SetIOC code from the sample. However I am getting a compile error as ServiceStackV3 is not defined. When I try and add the XFL ServiceStackV3 package from...
View ArticleDevice.BeginInvokeOnMainThread executes action immediately on Android.
Hi! I'am using Device.BeginInvokeOnMainThread from main thread to push some action to the end of main thread dispatcher queue. On the iOS everything works like expected, but on Android this method...
View ArticleIntroduction Forms Project, Memory problem
Hello! I'm just experimenting with the Xamarin Forms and I really like it. But now I have a really big memory problem. I think there should be a way (no I am sure there is one that i don't now) to...
View ArticleCustom ButtonRenderer?
Hello forum, I am trying to create a button with same layout as ImageCell (with image on the left) and two lines of text. But I am stuck and dont know where to start. I did try creating custom button...
View ArticleCustomizing the SearchView
I am trying to change the Text Color of the SearchView , specially around Android, so I wrote a custom renderer and trying to access the underlying the TextView contained within, but having problems...
View ArticleCustom renderer for Grid Layout
Hi there. I currently have a day calendar which uses a Xamarin.Forms Grid Layout to display times in the left-most column, and events, (sometimes overlapping events,) in subsequent columns to the...
View ArticleAcr.Xamarin.Forms Network connection check
Hi everybody, How can i check network connection? I found sample on github but its wrote mvvm pattern. I wrote this code but. I've got object null exception. My sample code is: ` private...
View ArticleGrid auto arrange
I would like to use a Grid layout to arrange a variable number of boxes in rows and columns depending on how many items are in a list. Is there a way to have the grid figure when a new row is needed...
View ArticleRunning Xamarin.Forms as one single activity vs. performance/design
The new concept Xamarin.Forms which further claims to simplify the user interface development where there is no longer necessary to create user interface per device is very attractive. However it is...
View Article