Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dw2kim/slidingpanel

Sliding Panel for Xamarin Forms
https://github.com/dw2kim/slidingpanel

Last synced: 29 days ago
JSON representation

Sliding Panel for Xamarin Forms

Awesome Lists containing this project

README

        

# Sliding Panel for Xamarin Forms

Xamarin.Forms library that allows you to have for Google-Map-Like sliding panel from bottom of the screen.
Supports only Xamarin.Forms.

[NuGet](https://www.nuget.org/packages/DK.SlidingPanel/)

### Features

## Support Platforms
Xamarin.Forms Only**

## Setup
* First, simply reference the nuget package in your Xamrin.Forms projects.
* Second, initialize SlidingUpPanel instance either in Xaml or C#.
* Lastly, apply the SlidingPanelConfig for your customizations.

## Screenshots
* Hide Panel:

![alt HidePanel](https://cloud.githubusercontent.com/assets/8919703/21026652/a0fbc588-bd5b-11e6-85bf-eb1d15ea363c.PNG)

* Show Collapsed Panel:

![alt ShowCollapsedPanel](https://cloud.githubusercontent.com/assets/8919703/21026653/a100a7f6-bd5b-11e6-994a-de69988d4b20.PNG)

* Show Expaneded Panel:

![alt ShowExpandedPanel](https://cloud.githubusercontent.com/assets/8919703/21026654/a10d7864-bd5b-11e6-9d97-0819485fde67.PNG)


#### XAML
```xml






0.6
True






















```

#### C# - Codebehind
protected override void OnBindingContextChanged()
{
base.OnBindingContextChanged();

SlidingPanelConfig config = new SlidingPanelConfig();
config.MainStackLayout = mainStackLayout;

StackLayout titleStackLayout = new StackLayout();
titleStackLayout.Children.Add(new Label { Text = "Test Title x" });
config.TitleStackLayout = titleStackLayout;
config.TitleBackgroundColor = Color.Green;

spTest.ApplyConfig(config);
}

## Other Docs
* [Source Code](https://github.com/dw2kim/slidingpanel/tree/master/src/Samples/Samples)