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

Well, this is quirky. :)

So in a StackLayoutI had an embedded StackLayout: <StackLayout x:Name="slActivity" Orientation ="Horizontal" IsVisible="false" > <ActivityIndicator x:Name="actSpinner" /> <Label...

View Article


PushModalAsync not working from UploadStringAsync

after end of UploadStringAsync (in UploadStringCompleted) i can't get to switch to another page Xamarin.Forms.Device.BeginInvokeOnMainThread(() => { Navigation.PushModalAsync(new...

View Article


xaml how to debug?

I wrote a AutoCompleteView in xaml file. After starting the emergence Object reference to an instance of an error , I do not know what is wrong , so I want to debug , but can not set a breakpoint in...

View Article

How can I present a slide-up-from-the-bottom modal view that overlays the...

I'm looking to do something similar to a Navigation.PushModalAsync on iOS, only that it would be just a small view that lands in the center of the page, and a background transparent overlay so that the...

View Article

Image may be NSFW.
Clik here to view.

How can I make a navigation title bar disappear even after navigating back...

I have a HomePage which links to other pages and is itself contained in a NavigationPage. I've disabled the NavigationBar for it using the following. NavigationPage.SetHasNavigationBar(this, false); It...

View Article


Custom Renderer Crashing Mono on Android

I'm trying to make a custom renderer for a ListView control, but whenever I go to the page with that control on it, Visual Studio hard-locks (have to terminate it) and the application crashes on the...

View Article

Image may be NSFW.
Clik here to view.

How can I create a custom navigation bar?

Hi, I'm trying to create an application with a navigation bar or menu like this: who can guide me in this journey?

View Article

Image may be NSFW.
Clik here to view.

portable project openTK

Hi Guys, im using visual studio but created a BlankApp (Xamarin.Forms Portable) which created 4 projects. now ive included the OpenGLView in a xaml file in the portable project and im trying to use...

View Article


Button in ListView blocks ItemSelected in Android

I have a ListView with a label and a button in each cell. I install an ItemSelected handler, but the handler never gets called (on Android). No matter where I touch on the list item the item will not...

View Article


How to best build screens on a device from a XAML template

Hi, could anyone point us in a direction for enabling us to generate device screens on the fly using XAML design files? We have a product where we want the UI to show different pages and controls...

View Article

Image may be NSFW.
Clik here to view.

Status Bar text hidden due to my black nav bar background color

I changed my navigation bar background color to black and the text color to white, but now when I run on iOS the status bar text doesn't show up (presumably because it remains black?)....

View Article

Binding to a calcuation property, initial state

I have a button with the a Button with its IsEnabled Property bound to a bool property that only has a getter, a test <Button Text="MyButton" IsEnabled="{Binding UserInputOK}" /> public bool...

View Article

Can I get the renderer for an AbsoluteLayout?

I am trying to create a custom control which contains an AbsoluteLayout and the ability to scroll it in both directions. (ScrollView would suffice, but it supports either horizontal or vertical...

View Article


Custom Renderer strange behavior

Hello, I tried to create a tableview custom renderer to rid iOS of the separator lines. When i run the application with the custom tableview implimented, i cannot segue (Push) from my login page to my...

View Article

Is there a way to control how ListView's cells are constructed?

I'd like to pass some additional values to each cell in the ListView. Currently I'm setting ItemTemplate = new DataTemplate(typeof(MyCustomCell));, which seems to be doing the magic for me. Is there a...

View Article


MasterDetailPage with ViewFactory, custom binding

I am trying to use MasterDetailPage but what I can't figure out is how to integrate it with using the ViewFactory in the View Model. I have seen examples with MasterDetailPage like here. They only use...

View Article

How to implement this feature: push a page halfway?

http://www.screencast.com/t/76pVnYry it was implemented using Master-Detail Page. can we implement it ourself between two ContentPages?

View Article


display's bug

Hello, I have a display bug, the "ViewCell" type publish lines, but when it scrolls results the bottom from screen not refreshs. The associate code : private class MissionsList : ListView { public...

View Article

Is a slider supposed to "slide" in android? I can only click to get a...

So I have a Stacklayout and a slider inside it with a label below showing the value selected like so: StackLayout optionLayout = new StackLayout() { Padding = new Thickness(15, 0), }; Slider slider =...

View Article

Image may be NSFW.
Clik here to view.

Entry text starting point problem - Android

Below is my Entry control code. <Entry x:Name = "noteBody" Text = "{Binding BodyPlain}" HeightRequest = "300" BackgroundColor="#FFFF86" ></Entry> Cursor is starting from middle rather than...

View Article
Browsing all 58056 articles
Browse latest View live


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