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

Image may be NSFW.
Clik here to view.

Image View inside StackLayout auto resize

Hello I have a stack layout inside the layout i have a Imageview and I want to auto resize those imageviews my questions are: Can I use percentage values in the width properties of those image views?...

View Article


VS Solution template for Blank Xamarin Forms apps

Any chance of changing the solution template so that it doesn't create the non-standard directory structure it does today. I'd expect the following: - SolutionDir ---->solutionDir.iOS ---->...

View Article


RoundedBoxView in Xamarin.Forms.Labs or something similar?

Is RoundedBoxView in Xamarin.Forms.Labs (I didn't see it) or something similar? I know there is a tutorial on custom renderers that uses it, but it seems redundant that everyone is making their own...

View Article

How to set NavigationBar's background color to gradient color?

Use the following code I only get black opaque background color for NavigationBar [assembly: ExportRenderer (typeof (NavigationPage), typeof (TabbedNavigationRenderer))] namespace...

View Article

ContentPage/View Lifecycle

Hi, can someone shed some light on lifecycles for ContentPages in Xamarin Forms? I've searched but can't find much on this. Are there OnAppearing/OnAppeared/OnLoaded events available etc and if so how...

View Article


Lists/Collections guidance

Are there any established patterns for passing a CLR List to a Xamarin Forms custom view and being able to reflect upon the items on the concrete native platforms? If the item types are plain old CLR...

View Article

DependencyProperty equivalent for Xamarin Forms.

I'm writing a XAML + MVVM project for testing porpuses. So far i haven't had any problems trying to port my Windows code to Xamarin except for the DependencyProperty. Is there a way to get it working...

View Article

DatePicker's & Time Picker 's Default Value

Hi, How do we set null value to Date & Time Picker?? By default Date Picker takes some default value & Time comes as 12:00. Thanks

View Article


PCL Targeting SL5 Breaks Xamarin Forms iOS?

Hi, Just wondering if anyone else can reproduce this. I was having a problem where every time I referenced a particular PCL, the iOS XF app referencing it would fail to start. Usually with an error...

View Article


ToolbarItem Command CanExecute doesn't work?

Hi, I added an ToolbarItem to the NavigationPage with an Command but if the Commands CanExecute method returns false the ToolbarItem isn't disabled. Is this a Bug? Or i'm i doing something wrong here?...

View Article

Best way to make a Circle?

Anyone know the best way to make a circle with Xamarin Forms? I'm guessing it's by making a custom Rounded Box Renderer, but I wasn't sure if there was a better out of the box way to do it since it is...

View Article

Problems with binding to ColumnDefinition Width in grid?

Another hour, another problem.. Anyone else having problems with binding to a ColumnDefinition Width? This is my xaml: <Grid BackgroundColor="#f00" > <Grid.RowDefinitions> <RowDefinition...

View Article

Xamarin Forms current position

Hello, I am creating an application which uses a Map object in Xamarin Shared Library. Can you please help me to find a way how to determine my current coordinates? I want this solution to work on all...

View Article


Image may be NSFW.
Clik here to view.

How to center/layout element inside StackLayout (inside RelativeLayout)

I want a layout where I have divided my screen up in two parts: Upper part: 40% of the height Lower part: 60% of the height I want the lower part to have a StackLayout with orientation=Vertical and I...

View Article

Image may be NSFW.
Clik here to view.

Scaling views - bug?

I think I might have encountered a bug regarding scaling views and the internal calculations of view layout. Here's two xaml examples: <StackLayout HorizontalOptions="Center"...

View Article


Binding a member variable to a RelativeLayout XConstraint

I'm wanting to bind a member variable to a RelativeLayout XConstraint of a Label so that the position is changed depending the variable. My guess (which doesn't work; it has no noticeable effect) is:...

View Article

Swipe gesture recognizer

Xamarin.Forms is very new and very exciting, but for now I see that it has few documentation and a few samples. I'm trying to make an app with an interface similar to the MasterDetailPage one, but also...

View Article


WCF REST Service Data Binding to ListView Template for TabbedPage Async Call

Hi all, I am working on **sample application (created a login page and navigate to listing page) by consuming data through WCF REST Service. ** I have tried to call the Async functions in constructor...

View Article

Extending ListViewRenderer/ListViewAdapter

So, there is no way to change the list appearance on android for the Master Detail Page? If I cant extend the ListView renderer or Adapter, how is possible to get complete customization?

View Article

Which Google Play Services Component for Android in Forms?

Hi everyone, maybe thats a quite simple question but which Google Play Services Component should I use when using Xamarin.Forms?

View Article
Browsing all 58056 articles
Browse latest View live


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