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

Set a label with current local time with XAML

Hi, I'm creating this page with XAML and I need to put a label with current local time that keeps updating its time. How can I do this?

View Article


MasterDetails Page

How can add sub menu in master details page?

View Article


What is the best way to convert an Android Bitmap to an ImageSource?

I have tried: Parcel p = Parcel.Obtain(); bmp.WriteToParcel( p, ParcelableWriteFlags.None ); var imgsrc = ImageSource.FromStream( () => new MemoryStream( p.CreateByteArray() ) ); Where "bmp" is of...

View Article

TapGestureRecognizer not firing for Android

TapGestureRecognizer is working for WinPhone but on Android although the Application Output is showing [ViewRootImpl] ViewPostImeInputStage ACTION_DOWN but the Tapped evenit isn't being called... var...

View Article

Disable item selection in a ListView in iOS

On Android I am able to keep the user from clicking any cell within a grouped ListView by setting IsEnabled to false. This seems to have no effect on iOS. Is this a bug? And if so, is there a...

View Article


OpenGLView Not Rendering Frame Buffer

Hi all, I am trying to simply put a triangle on the screen using OpenGLView in a Xamarin.Forms shared project. I believe my code is set up right, but no triangle ends up on the screen. Any insight...

View Article

SQLite Throw Exception

Hi, I want to create an internal librairy for my project and I followed this tutorial. On Android and IOS it works but on windows phone 8.1 it throw an exception on this part of the code: var conn =...

View Article

Azure Mobile Services Authentication vs. AD Graph API

Hi Guys I have manage to authenticate the AD user with Mobile Services successfully, and I get the user ID and the token According to this http://msdn.microsoft.com/en-us/library/azure/dn151678.aspx I...

View Article


How to get Azure Mobile Services SQLiteStore working on Windows Phone using...

My app is happily using both "Azure Mobile Services SQLiteStore" and "Windows Azure Mobile Services" in the Android and iOS builds. However, I have wasted rather a lot of hours trying to get the same...

View Article


Using Views

Why when I make a variable of type view I get a: Error : 'Xamarin.Forms.View.View()' is inaccessible due to its protection level I'm trying to do it like this: View content = new View(); Can elements...

View Article

Visual Design of MasterDetailPage

I'm noticing that on iOS the MasterDetailPage looks different than I'd expect on small form factor. It appears that the page I've set to be the Detail hangs over a bit on the right hand side of the...

View Article

Need to set Content Page Background color to transparent in iOS

Hi Guys Currently I am pushing a modal content page to display some content as a custom pop up. What I am doing is setting the background color of the content page to Color.Transparent and centering a...

View Article

How do i change header color in Forms for Windows?

Hello, The title says it all. I want to change the header color of a Windows 8 app. I can do this on iOS and Android, and artificially insert one header on WP. Can anyone help? Thanks!

View Article


Trying to implement showing multiple selections on ListView

This is the class for the objects in the list (At least the relevant portions) ` public class Icd10Code : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; protected...

View Article

Xamarin forms in windows phone cannot debug in device and simulator

When I trying Debug Xamain forms application target windows phone 8.1 (device or simulator) silverlight application, but always output this error and end the debug mode. Anyone got idea how to fix...

View Article


Remove icon from action bar from xamarin forms android project

Hi, Can someone help me in removing icon from action bar ? Thanks, Ashish jha

View Article

Can Scroll view indicate if content is cut off?

I have a screen with a scroll view (that has many input items) and a save button. Depending on screen size, and item alignment it is possible to not realize that items are off the bottom of the screen....

View Article


How to use System.Data.DataTable and System.Windows.Form.DataGrid in...

Hi Team, I am working on xamarin.forms project and want to use System.Data.DataTable, System.Windows.Forms.DataGrid and other .NET components in PCL. As far as I have explored .NET Portable Subset, I...

View Article

ListView: Get index of selected item?

Hi When an item is selected in a listview I need the selected rows position. Is there an easy way to achieve this? Thanks

View Article

How Paste HTML as a Design in email.

I have some HTML , i need copy and paste the HTML and send HTML design email. i have create renderer for both ios and android. in ios its working fine, but in android its not working properly. In ios...

View Article
Browsing all 79144 articles
Browse latest View live