Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/JimmyPun610/Plugin.XF.Backdrop
- Owner: JimmyPun610
- Created: 2019-08-30T08:54:39.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-23T03:52:42.000Z (about 5 years ago)
- Last Synced: 2024-10-06T07:47:39.466Z (2 months ago)
- Topics: android, backdrop, facebook-pop, ios, popup, xamarin-forms, xamarin-forms-backdrop
- Language: C#
- Size: 3.03 MB
- Stars: 12
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-xamarin-forms - Plugin.XF.Backdrop ★11
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
```