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

Multiline text, second power in label, bold font in label

Hi, I would like ask if I have long text, can I label or other control? I need bigger space between lines. Can I do second power in label, its possible and how do I small piece of text bold in label (I...

View Article


Threading with async, await not executing the task

Using VS2013u2 and Xamarin 3 on Android. Created a task in a shared class public enum MyResults { Unknown, Successs, Failed } public Task<MyResults> MyTask() { return new Task<string>(()...

View Article


Image may be NSFW.
Clik here to view.

Any ETA on the animation bug with Carousel View

I know that a Pre Release is due today, is there any chance that the Animation bug with adding objects at the beginning of ItemSource is in this? It's kind of a show stopper for me right now. I have...

View Article

How to change the color of Xamarin.Forms.NavigationPage

I wrote this, but it seems not working. public class App { public static Page GetMainPage () { var masterPage = new MasterPage (); var navigationPage = new NavigationPage (masterPage);...

View Article

MarkupExtension not found

Hi there, Im trying to use the "ImageResourceExtension" to link embedded images from a Xamarin.Forms UI made in XAML. If i try to set the Image source from code it works but not from XAML. ` <?xml...

View Article


[XAML][REALDEVICE] Problems with JIT/AOT and ResourceDictionary

Hi all, @JasonASmith‌ @CraigDunn‌ Today I first deployed my app on a real iPhone. I knew I would have to fix some issues but I came across an issue that I didn't fully understand. So I have this code...

View Article

ContentView and ContentPage

What is the difference and when to use what?

View Article

Is basic image pinch zoom implemented?

Reading through various discussions here and elsewhere, am I right in concluding that pinch zoom of images is not a base functionality available in Xamarin.Forms, and needs to be done through...

View Article


Is it possible to use IGrouping instead of ObservableCollection on Grouped...

Currently I have an ObservableCollection as follows public class MediaListSection : ObservableCollection<MediaViewModel> { public string SectionName { get; private set; } public...

View Article


MasterDetailPage crashes on Android when using NavigationPage

Hi, I have an app that displays a Login page (a ContentPage) inside a NavigationPage. After the user logs in, she gets another ContentPage where the user will select a role (buyer or seller) and then...

View Article

Setting BindingContext to null doesn't do anything

I am experimenting a bit and looking into how to reset BindingContext. For testing purposes I have a view model with couple of properties: string Text and ImageSource Image and binding these two guys...

View Article

How can I add native android view to Xamarin.Forms View?

Hi, I am trying t add a chart to the Xamarin.Forms. the chart libary I use is OxyPlot and it returns a Android.Views.View object. Is there any samples on how i can add this to my Xamirin.Forms layout?...

View Article

Why is UIBarButtonSystemItem.Action not displaying?

I have a PageRenderer to Add Action icon to the top right, which does social sharing function. Here is the code: public override void ViewDidLoad() { base.ViewDidLoad();...

View Article


Border around layout

Hi, I was trying to put things horizontally on an Ipad(like the master - detail page). How can I add borders to the layouts in order to separate different parts of the page? I was trying to add a...

View Article

how to handle navigation.PopModalAsync()

I have a listview when tapped it will open up a page using navigation.PushModalAsync(). I used customrenderer so that the Textcell in listview will change color using cell.SelectedBackgroundView = new...

View Article


Scaling Detail page in MasterDetailPage when Masterpage shown

Hi guys, I want is, When Master page is visible, detail page to be scaled to the available space in right side. i was able to follow thread below and reduce the master page side of android. thanks to...

View Article

Dial Pad on Xamarin Forms

In Short: Is there a simple way or standard way to call the dial pad on Xamarin forms ? Longer version: I have a tabbed page with a tab called "Dial" , this tab should contain the phone dial pan , with...

View Article


TableView Section Title Not Appearing

Creating a TableSection without a title parameter seems to disable the rendering of any TitleProperty text set on the TableSection after it's initialization. If I pass in an empty string to the...

View Article

Image may be NSFW.
Clik here to view.

Using native OS buttons

I would like to create buttons and use the native buttons that is given by the OS in case of Dial-Pad , WITHOUT going to the dial page. like in a normal view. Is there a way to do that ?

View Article

How can I notify a ViewModel that navigation has returned to it from a...

I'm using an MVVM approach. I have a ViewModel (let's call it Main) that needs to know via callback, event, etc. when navigation has returned to it from its child ViewModel. My attempted solution was...

View Article
Browsing all 58056 articles
Browse latest View live