All Projects → Baseflow → Xamarin-Sidebar

Baseflow / Xamarin-Sidebar

Licence: Apache-2.0 license
A slideout navigation control for Xamarin.iOS

Programming Languages

C#
18002 projects
powershell
5483 projects
shell
77523 projects

Projects that are alternatives of or similar to Xamarin-Sidebar

Xamarin.plugins
Cross-platform Native API Access from Shared Code!
Stars: ✭ 1,176 (+940.71%)
Mutual labels:  xamarin, nuget
Xamarin.iOS.DGActivityIndicatorView
🔰 DGActivityIndicatorView is a collection of nice loading animations for Xamarin.iOS.
Stars: ✭ 28 (-75.22%)
Mutual labels:  xamarin, nuget
Latestversionplugin
LatestVersion Plugin for Xamarin and Windows apps
Stars: ✭ 99 (-12.39%)
Mutual labels:  xamarin, nuget
32feet
Personal Area Networking for .NET
Stars: ✭ 395 (+249.56%)
Mutual labels:  xamarin, nuget
XamarinHosting
Xamarin Forms Generic Host implementation for Microsoft.Extensions.Hosting.
Stars: ✭ 19 (-83.19%)
Mutual labels:  xamarin, nuget
Xamarinmediamanager
Cross platform Xamarin plugin to play and control Audio and Video
Stars: ✭ 647 (+472.57%)
Mutual labels:  xamarin, nuget
Xamarin.forms.breadcrumb
This is a breadcrumb navigation control that is complete automatic and uses the Navigation stack and page titles to generate the breadcrumbs.
Stars: ✭ 130 (+15.04%)
Mutual labels:  xamarin, nuget
InfiniteCycleViewPagerXamarin
Infinite cycle ViewPager with two-way orientation and interactive effect.
Stars: ✭ 38 (-66.37%)
Mutual labels:  xamarin, baseflow
Megaapiclient
MegaApiClient is a C# .Net library to access http://mega.co.nz / http://mega.nz cloud storage and file hosting service.
Stars: ✭ 151 (+33.63%)
Mutual labels:  xamarin, nuget
Plugin.audiorecorder
Audio Recorder plugin for Xamarin and Windows
Stars: ✭ 140 (+23.89%)
Mutual labels:  xamarin, nuget
Xamarin.forms.inputkit
CheckBox, Radio Button, Labeled Slider, Dropdowns etc.
Stars: ✭ 372 (+229.2%)
Mutual labels:  xamarin, nuget
FloatingNavigationView
A simple Floating Action Button that shows an anchored Navigation View
Stars: ✭ 19 (-83.19%)
Mutual labels:  xamarin, baseflow
Mvvmcross
The .NET MVVM framework for cross-platform solutions, including Xamarin.iOS, Xamarin.Android, Windows and Mac.
Stars: ✭ 3,594 (+3080.53%)
Mutual labels:  xamarin, nuget
Xxamarin
Repositório com ✨ 141 Exemplos de Implementações e 📦 13 Pacotes de Xamarin
Stars: ✭ 68 (-39.82%)
Mutual labels:  xamarin, nuget
VlcXamarin
Xamarin.Android bindings for VLC player
Stars: ✭ 35 (-69.03%)
Mutual labels:  xamarin, baseflow
Exoplayerxamarin
Xamarin bindings library for the Google ExoPlayer library
Stars: ✭ 124 (+9.73%)
Mutual labels:  xamarin, nuget
Xamarin.iOS.DatePickerDialog
Xamarin iOS C# port of https://github.com/squimer/DatePickerDialog-iOS-Swift
Stars: ✭ 24 (-78.76%)
Mutual labels:  xamarin, nuget
ButtonCirclePlugin
Circle Buttons with icon for your Xamarin.Forms Applications
Stars: ✭ 96 (-15.04%)
Mutual labels:  xamarin, nuget
Bingmapsresttoolkit
This is a portable class library which makes it easy to access the Bing Maps REST services from .NET.
Stars: ✭ 136 (+20.35%)
Mutual labels:  xamarin, nuget
Sharpcaster
Chromecast C# SDK for Windows, Windows Phone, .NET 4.5.1, Xamarin.iOS and Xamarin.Android platforms.
Stars: ✭ 245 (+116.81%)
Mutual labels:  xamarin, nuget

Xamarin-Sidebar

A slideout navigation control for Xamarin iOS applications.

license Build status NuGet GitHub tag MyGet

Get the package on Nuget!

If you're using Sidebar Navigation send me a link to your app and I'll happily post it here.

Menu Open

This is partly based on two other good slideout menu implementation that each didn't provide quite what I was looking for. Those two are FlyoutNavigation and SlideoutNavigation.

Xamarin-Sidebar allows you to provide one UIViewController to be used as a content view and another to be used as a menu. When you open the menu the content view will slide over to reveal the provided menu UIViewController.

To set it up just create a root UIViewController and a SidebarController, passing in your content and menu controllers.

RootViewController.cs

using SidebarNavigation;
...
public partial class RootViewController : UIViewController
{
	// the sidebar controller for the app
	public SidebarController SidebarController { get; private set; }

	public override void ViewDidLoad()
	{
		base.ViewDidLoad();

		// create a slideout navigation controller with the top navigation controller and the menu view controller
		SidebarController = new SidebarController(this, new ContentController(), new SideMenuController());
	}
}
...

AppDelegate.cs

...
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
	window = new UIWindow(UIScreen.MainScreen.Bounds);
	
	// set our root view controller with the sidebar menu as the apps root view controller
	window.RootViewController = new RootViewController();
	
	window.MakeKeyAndVisible();
	return true;
}
...

In the content controller you can add a button to open the slideout menu.

menuButton.TouchUpInside += (sender, e) => {
	SidebarController.ToggleMenu();
};

In the side menu controller you can add buttons to change the content view.

otherContentButton.TouchUpInside += (sender, e) => {
	SidebarController.ChangeContentView(new OtherContentController());
};

Additional options include hiding the shadow, setting the menu width, and placing the menu on the left.

SidebarController.HasShadowing = false;
SidebarController.MenuWidth = 220;
SidebarController.MenuLocation = SidebarController.MenuLocations.Left;

See the sample projects included in the source for more details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].