ScienceSoft-Inc / TitleBar

Customizable Xamarin.Forms title bar for Android, iOS and Windows Phone: place up to 5 buttons inside it and position/paint the bar as you want.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ScnTitleBar

Customizable Xamarin.Forms title bar for Android & iOS: place up to 5 buttons inside it and position/paint the bar as you want.

Title Bar Control Structure

The control may have the following items:

  • Back button
  • 1st left button
  • 2nd left button
  • Title
  • 1st right button
  • 2nd right button

You can put control in any place on a page and choose which items (out of the above list) to show. You may change icons, colors, title text and it's style. The "Back" button implements standard navigation action of each platform.

See schemas bellow:

Main

Bellow you may see screenshots of a real application using the control (you can find sources of this application at https://github.com/ScienceSoft-Inc/XamarinDiscountsApp): Main

How to use this control in Xamarin.Forms app

Please pay attention that ScnTitleBar constuctor includes three parameters:

  • Owner page;
  • Kind of view buttons;
  • Control alignment - to be used only for renderer not for location on a page.

You may find sample code of contral usage here: https://github.com/ScienceSoft-Inc/TitleBar/tree/master/ScnTitleBar/Sample/SampleTitleBar

About

Customizable Xamarin.Forms title bar for Android, iOS and Windows Phone: place up to 5 buttons inside it and position/paint the bar as you want.

License:MIT License


Languages

Language:C# 99.8%Language:Batchfile 0.2%