Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Tommigun1980/Xamarin.Forms.SlideView
A sliding view component for Xamarin.Forms
https://github.com/Tommigun1980/Xamarin.Forms.SlideView
slide slideview sliding xamarin xamarin-forms
Last synced: 29 days ago
JSON representation
A sliding view component for Xamarin.Forms
- Host: GitHub
- URL: https://github.com/Tommigun1980/Xamarin.Forms.SlideView
- Owner: Tommigun1980
- License: mit
- Created: 2020-04-10T17:48:40.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-13T14:13:10.000Z (almost 2 years ago)
- Last Synced: 2024-11-01T07:47:03.778Z (about 1 month ago)
- Topics: slide, slideview, sliding, xamarin, xamarin-forms
- Language: C#
- Homepage:
- Size: 265 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-xamarin-forms - Xamarin.Forms.SlideView ★9
README
# Xamarin.Forms.SlideView
*A sliding view component for Xamarin.Forms*![SlideView](Doc/SlideView.gif)
NuGet package available at https://www.nuget.org/packages/Xamarin.Forms.SlideView/
## Usage
Import the SlideView assembly:
```xaml
xmlns:slideview="clr-namespace:Xamarin.Forms.SlideView;assembly=Xamarin.Forms.SlideView"
```Place it in your view, and define contents for Pane0 (first pane), and Pane1 (pane that slides in):
```xaml
```
To toggle between the panes, set the PanePriority property on your SlideView to SlideView.SlideViewPanePriority.Pane0 or SlideView.SlideViewPanePriority.Pane1:
```c#
using Xamarin.Forms.SlideView;// ...
this.mySlideView.PanePriority = SlideView.SlideViewPanePriority.Pane0; // displays first pane
this.mySlideView.PanePriority = SlideView.SlideViewPanePriority.Pane1; // displays second pane
```See [SlideView.xaml.cs](Xamarin.Forms.SlideView/SlideView.xaml.cs) for all bindable properties.