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

After Updating Xamarin Forms to 2.0 All Conrols getting error like the...

After Updating Xamarin Forms to 2.0 All Conrols getting error like the control does not exist in the current context due to initial component also getting same error.

View Article


Xamarin Forms Date / Time picker set Text Color

Hi, is that possible to set text color in Date / Time picker. i had tried with custom render too. still the color is not changing. `` EditText nativePicker; protected override void...

View Article


Invalid cast exception error

I'm trying to add styles to application's global ResourceDictionary and access from another content page. Its working with labels but, not with buttons and images. I'm getting an invalid cast exception...

View Article

Custom ViewCell after xamarin forms 2.0 upgrade have breaking changes in...

Dear All, I've attached a fairely simple. drilled down version of our app. What you will see in it is that I've a simple Forms app consisting of 2 pages. My first page just has a button to navigate to...

View Article

Image may be NSFW.
Clik here to view.

Notification over a toolbar item.

I have a toolbar in my Xamarin forms project. I require the following - 1. I need to display notifications on my toolbar items as in the image - . 2. I need to decrease space between the toolbar items...

View Article


iOS Keyboard showing

Hi, I have a custom renderer on my UI which inherits Entry. Once clicked, a Picker is fired (having to do it this way as there is no way to align the text in the picker centrally from what I can see)....

View Article

Changing Root From a Navigation Page

Hi Everyone, My team and I are using the Login Pattern sample suggested in several answers in these forums It works great but we need to change this part public static Page GetLoginPage (ILoginManager...

View Article

White screen instead Page duaring navigation

Hello! I have a problem with my project. I use MasterPageDetail in my XF app. Detail page is navigation page. To navigate ahead i use PushAsync in my Detail page. To close page manualy PopAsync. When i...

View Article


Page navigation arguments and app lifecycle

Hello, I wonder how navigation between pages with Xamarin.Forms respects target platforms navigation paradigms. Currently, I'm just passing my navigation arguments to created pages (await...

View Article


Setting the height of a RelativeLayout?

I have a case where I want the RelativeLayout to only fill half of the screen. Is it possible to set the height of the RelativeLayout? HeightRequest does not seem to do it (for Android at least,...

View Article

invalide cast exception PushAsync ContentPage

Hi all, i have a great problem. I try to run this code: var myPage = new MyPage(); await Navigation.PushAsync(mieGiocatePage); MyPage is a contentPage but i always obtain the exception "specified cast...

View Article

Image may be NSFW.
Clik here to view.

Issue with WebView and orientation change

Hi, I have a strange issue: I created a simple WebView which is added to the center of a relative layout. My view code looks like this: var htmlTest = new WebView { Source = new HtmlWebViewSource() {...

View Article

system.argumentexception: an item with the same key has already been added

I know this is avery general error, but I suddenly cannot debug my xamarin forms application anymore on my iOS device: system.argumentexception: an item with the same key has already been added any...

View Article


Change left bar button in navigation header for a specific page (iOS)?

I would like to change the left bar button in the navigation header in a custom renderer, but only for a given page. Something like this: public class CustomNavigationRenderer : NavigationRenderer {...

View Article

How to use INotifyPropertyChanged with a ListView

I have a ListView whose ItemSource is an ObservableCollection of Message objects. Message objects implement INotifyPropertyChanged. I am changing properties on a message object in the...

View Article


How can I get the MasterDetailPage to behave itself in split view on iPad?

I've got an app that's using the Xamarin Forms MasterDetailPage to layout a slide-over burger menu on phones and a popover on tablets. But when I open the app in split view on an iPad, it falls down....

View Article

.

.

View Article


HasShadow Property of Frame not working

I am using Xamarin Forms and I am trying to build a cardview style control by putting a frame inside a listview and it doesn't look like the HasShadow property is working properly. I have it set to...

View Article

Stop making properties internal!

It's getting really annoying. Many of the controls are under-developed on Windows Phone (e.g. MasterDetailPage - seriously, a command bar icon???), and our team decided to work around that. Except they...

View Article

Do MessagingCenter subscriptions get processed on not visibale pages

I have a page that includes a control, this control has a view model that subscribes to a message Like this MessagingCenter.Subscribe<object, string[]>(dummy, "UPDATE_LAST_SYNCED", (sender,...

View Article
Browsing all 77050 articles
Browse latest View live


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