Quantcast
Browsing all 76418 articles
Browse latest View live

windows application

hello, it's possible share code between iOS, Android, windows phone AND WINDOWS APPLICATION ( desktop, like windows 7 or 8 or 8.1 or 10 ) ? What's difference between windows store and windows...

View Article


Creating simple control with custom renderer

Hi. I'm starting a project with Xamarin.Forms an cannot create the most basic custom rendered control with child controls, I always get a "SetElement did not create the correct number of children"....

View Article


How to draw "multi gradient " for Android in custom renderer?

For iOS we use CAGradientLayer.Locations as the gradients stops. For WinRT we use GradientStops. What about Android?

View Article

out of memory

Hi friends. I have a page with a "grouped" listview. Every row in this listvierw has an "Image". This page is inside a NavigationStack. I have this exception (only one time by now). Catched by...

View Article

Device.OnPlatform in Unit Tests

Hey I want to run unit tests on code that contains Device.OnPlatform(ios,android,winphone);. Is there a possibility to say that the current test case should emulate a special OS like iOS or Android. Is...

View Article


How to write a unittest with Device.OnPlatform()

Hello I want to test a method on the pcl-part. The IOS-Part do other stuff than the android one. For example the ios-part make a ModalPush and the android-part a normal one How do you test such parts?

View Article

Label LineBreakMode WordWrap behaves as CharacterWrap when using Bindings

I have a Label in which the Text or FormattedText property is populated with a binding towards a property on my ViewModel. The LineBreakMode has been set to WordWrap, but it behaves as a CharacterWrap....

View Article

Swipe gestures for custom Viewcell in listview

Hi everyone, I am trying to implement a custom view cell for listview in Xamarin.forms. Is it possible to detect left and right swipe on the cells to do some custom actions ? Please help

View Article


Is it possible to use Xamarin.Maps to add map pins in Xaml?

I would like to put a map in xaml with 1 pin on it with a bound location. I initially thought that: <maps:Map x:Name="map" Grid.Row="2" HorizontalOptions="Fill" VerticalOptions="Fill"...

View Article


Xamarin Forms Chart

Hi all, I was looking for a chart component to make some Charts using Xamarin Forms that can be used with IOS and Android. Then, i found OxyPlot or XLabs easy ways to start doing it. Using XLabs, i was...

View Article

binding not firing in some cases

I have a view model, which is set as the binding context of my view. I have a view which binds to one of the properties of the view model, which is a complex object. I'm finding that the bindings are...

View Article

JObject does not process in PCL of Xamarin Forms Project

I am writing to learn ask why during debug, in Xamarin Studio - a JObject, and other Json.Net processes, do not seem to process; The processing gets hung up within a method of a Portable Class Library;...

View Article

How to bind data to a Picker inside a ListView

I am using Xamarin forms and my app has a list of items as a list view and each list item need to have a Picker. How do I bind data to the Picker controllers? Is there a way to access the child items...

View Article


Xamarin Forms - Sliding menu (navigation drawer) RTL mode

I'm trying to find a good implementation of Sliding menu for Xamarin Forms in RTL mode. does anyone familiar with one ? Thanks in advance...

View Article

Missing native ObjectiveC class after updating Xamarin.Forms and XLabs

I updated Xamarin.Forms to 1.5.1.6471 and XLabs to 2.0.5782 and suddenly I'm getting the following error when it hits the line of code to load a HybridWebView. Wrapper type...

View Article


Custom Content View (Widget)

How do I create a custom content view that I can insert a custom view in between? Here's a pseudo code on what I'd like to do. SharedLayout.xaml <ContentView> <StackLayout> <Label...

View Article

Pass data between Page and Activity for external application

Ciao. I've a PCL Xamarin.Forms application. I've to call an external application, so I have to create a PageRenderer and an Activity. In the activity, using StartActivityForResult, I can start the...

View Article


Navigating from Android activity back to forms

I have forms project where I use a custom ContentPage and a PageRenderer based on this code: forums.xamarin.com/discussion/18014/mixing-forms-content-and-native-activity I can navigate to my android...

View Article

Changing the UI localisation within an app.

Hi, I have a localised app running for forms (I've effectively used the example from the xamarin website). What I'm trying to do is alter the UI language from a picker. While the code works, the...

View Article

Change Referenced Assembly (.dll) Name

Hello, I'm Having an issue using diferentes assemblies with the same names. I need to use both of them but cant because the namespace has the same name. I saw that a solution could be external alias...

View Article
Browsing all 76418 articles
Browse latest View live