Questions tagged [xamarin-forms-shell]

12 questions
3
votes
3 answers

How to disable dark theme in xamarin forms for real?

First question My app is only for internal use so I never ever need dark theme support. I use the newest xamarin forms. How to disable dark theme globally in app? It's pretty easy in ios subproject. Second question How to change color of border of…
2
votes
0 answers

Global shell route gets stuck on navigation stack when returning to Shell Visual Hierarchy from outside visual hierarchy in Xamarin.Forms Shell

I am using Xamarin.Forms 5.0.0.2012 and Shell feature for navigation. When navigating away from a global route, then returning to a visual hierarchy route, that the global route was sitting on top of the global route. I set up two ShellContents for…
Thamarai T
  • 252
  • 1
  • 6
  • 19
1
vote
0 answers

Initial shell item selected on Android but not on iOS

I'm using the standard Flyout App template in the latest Visual Studio for Mac. When I run it on Android, and expand the flyout menu, the first item is selected: When I run it on iOS, it is not: Only after selecting another flyout item first, and…
Glorfindel
  • 21,988
  • 13
  • 81
  • 109
1
vote
0 answers

How to fire Page Constructor every time when navigating to it

I have a page that is registered in the AppShell like this: public AppShell() { InitializeComponent(); Routing.RegisterRoute(nameof(LesezeichenPage), typeof(LesezeichenPage)); } ...and the Flyout:
Rob
  • 57
  • 7
0
votes
1 answer

How to set the same viewmodel instance as the binding context for two views (pages) in Xamarin.Forms Shell?

I have a page and it's binding context is set to SampleViewModel. There I have a list of items (actually an ObservableCollection). Each of those items has an add to cart button. When clicked on that add to cart button, I add that item to a new…
Ruvindra Yohan
  • 67
  • 1
  • 10
0
votes
0 answers

Shell navigation throws System.ArgumentException: 'Ambiguous routes matched for: ... error

I'm trying to navigate back from the page I have been routed. I have registered all pages as well. I have Home Page with List view. When clicking ListView Item I'm navigation to DetailsPage from there again I'm navigating to RecordPage. Now when I'm…
Divyesh
  • 2,085
  • 20
  • 35
0
votes
1 answer

iOS Xamarin Forms - Toolbar and Navigation items not showing

I am adding iOS support for my already existing Xamarin Forms android app. The toolbar items, navigational back arrow and the hamburger menu do not show on iOS: While they work perfectly on Android: The Application.MainPage is set to a…
0
votes
1 answer

Xamarin Forms Shell - iOS extend view under bottom TabBar

I am trying to extend my pages from my Shell under the bottom tabbar in iOS MyShellRenderer:ShellRenderer class [assembly: ExportRenderer(typeof(AppShell), typeof(MyShellRenderer))] namespace your namepace { class MyShellRenderer:ShellRenderer …
ArthurCPPCLI
  • 1,072
  • 7
  • 18
0
votes
1 answer

Can't change the hamburger menu icon for shell page in xamarin forms UWP

I am using Shell Page in xamarin forms. I need to change the hamburger menu icon. Below is my code
Nambukarthy
  • 96
  • 11
0
votes
0 answers

Xamarin Forms Shell Bottom Tab Bar Selected Image

I'm using Xamarin Forms Shell TabBar and i'm working into renderers to customize this tabbar, i want to change icon when a tab is selected. I found this tutorial : https://montemagno.com/tintcolor-selectedimage-xamarin-forms-ios/ I'm trying to…
ArthurCPPCLI
  • 1,072
  • 7
  • 18
0
votes
1 answer

XF Shell navigate to the same page

I need a little advice on navigating the Xamarin Forms Shell. I'm trying to create a page with details. Navigation to the detail page works, but unfortunately the go back no longer works. See gif. Someone where I make a mistake would advise me.…
user6473719
0
votes
1 answer

Xamarin forms shell: how to add header toolbar logo?

In a "xamarin forms shell" application, how do I add a logo image in the center of the header toolbar?
001
  • 62,807
  • 94
  • 230
  • 350