Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/JimmyPun610/Plugin.XF.Backdrop

Xamarin Form Backdrop Control
https://github.com/JimmyPun610/Plugin.XF.Backdrop

android backdrop facebook-pop ios popup xamarin-forms xamarin-forms-backdrop

Last synced: 29 days ago
JSON representation

Xamarin Form Backdrop Control

Awesome Lists containing this project

README

        

# Plugin.XF.Backdrop
Xamarin Form Backdrop Control, making use of Rg.Plugins.Popup

# Supporting Platform
Android, iOS10+

# Preview


iOS

Android









# Installation
Install nuget package to all your project
```
Install-Package Plugin.XF.Backdrop
```
# How to use
Please refer to Sample project for more information
1. In iOS project, in your AppDelegate.cs add below code
```
LoadApplication(new App());
Rg.Plugins.Popup.Popup.Init();
Plugin.XF.Backdrop.iOS.Initializer.Init();
return base.FinishedLaunching(app, options);
```

2. In Forms project, create a bottom to top backdrop popup page, set the page content and parameter if needed
```











```
3. Popup the page
```
await Rg.Plugins.Popup.Services.PopupNavigation.Instance.PushAsync(new SampleBottomToTopPopupPage());
```

# Available parameter
```
SwipeToCloseTime(double) - The time in ms needed to close popup by swiping (default 300ms)
PageContent(View) - The content view of the popup
IndicatorColor(Color) - Top indicator color
RoundedCorners(string[]) - "topleft", "topright", "bottomleft", "bottomright", "all", "none"
CornerRadius(double) - "-1" = Auto
BorderColor(Color)
BorderThincness(float)
ShadowColor(Color)
ShadowOpacity(float)
ShadowRadius(float)
HorizontalShadowOffset(double)
VerticalShadowOffset(double)
ViewMargin(Thickness) - Set the view margin to the screen
```