DEV Community

David Ortinau for .NET

Posted on

4

Exploring Colors in Xamarin.Forms Shell

Shell provides colors for styling most anything you can see in the chrome of your application such. This video takes a walk through several of the options available and discusses how styles are applied to both tabs and flyouts.

Colors

  • Shell.BackgroundColor - the background of the shell, which comes through in the navigation bar (title bar) area
  • Shell.TitleColor - the color of the title in the navigation bar
  • Shell.ForegroundColor - the tint color for things like the menu icon
  • Shell.TabBarBackgroundColor - color behind the tabs on the bottom
  • Shell.TabBarTitleColor - the color of the labels and icons of the selected tab
  • Shell.TabBarUnselectedColor - the color of the labels and icons that are unselected

Resources

Shell Styles Sample

This app explores the various color options and style classes available to customize a Xamarin.Forms app using the Shell flyout and/or tabs.




Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay