Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.08 KB

File metadata and controls

30 lines (24 loc) · 1.08 KB

ScnSideMenu

Xamarin.Forms side menu control (targeted at Android & iOS) - it lets you add sliding menus (left and right) to you application.

Control Structure

Bellow you may see control schema: Main

Screenshots of the real app usign sliding menu follow (find app sources at https://github.com/ScienceSoft-Inc/XamarinDiscountsApp): Main

How to use the control in Xamarin.Forms app

In order to show or hide the menu set the properties "IsShowLeftPanel" and "IsShowRightPanel" to TRUE or FALSE or use swipe gestures near screen border.

In order to have gestures working you need to have platform specific renderers initialized.

iOS:

Xamarin.Forms.Forms.Init();
ViewGesturesRenderer.Init();

Android:

Xamarin.Forms.Forms.Init(this, bundle);
ViewGesturesRenderer.Init();

See sample usage here: https://github.com/ScienceSoft-Inc/ScnSideMenu/tree/master/ScnSideMenu/Sample/SimpleSideMenu