{"id":13712092,"url":"https://github.com/JimmyPun610/Plugin.XF.Backdrop","last_synced_at":"2025-05-06T21:33:09.732Z","repository":{"id":97499214,"uuid":"205344012","full_name":"JimmyPun610/Plugin.XF.Backdrop","owner":"JimmyPun610","description":"Xamarin Form Backdrop Control","archived":false,"fork":false,"pushed_at":"2019-10-23T03:52:42.000Z","size":3182,"stargazers_count":12,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T14:53:14.460Z","etag":null,"topics":["android","backdrop","facebook-pop","ios","popup","xamarin-forms","xamarin-forms-backdrop"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JimmyPun610.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-30T08:54:39.000Z","updated_at":"2024-03-21T14:50:05.000Z","dependencies_parsed_at":"2023-05-18T14:18:12.236Z","dependency_job_id":null,"html_url":"https://github.com/JimmyPun610/Plugin.XF.Backdrop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimmyPun610%2FPlugin.XF.Backdrop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimmyPun610%2FPlugin.XF.Backdrop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimmyPun610%2FPlugin.XF.Backdrop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimmyPun610%2FPlugin.XF.Backdrop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JimmyPun610","download_url":"https://codeload.github.com/JimmyPun610/Plugin.XF.Backdrop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252772300,"owners_count":21801904,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","backdrop","facebook-pop","ios","popup","xamarin-forms","xamarin-forms-backdrop"],"created_at":"2024-08-02T23:01:14.849Z","updated_at":"2025-05-06T21:33:09.166Z","avatar_url":"https://github.com/JimmyPun610.png","language":"C#","funding_links":[],"categories":["UI"],"sub_categories":[],"readme":"# Plugin.XF.Backdrop\nXamarin Form Backdrop Control, making use of Rg.Plugins.Popup\n\n# Supporting Platform\nAndroid, iOS10+\n\n# Preview\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eiOS\n    \u003c/td\u003e\n      \u003ctd\u003eAndroid\n        \u003c/td\u003e\n  \u003c/tr\u003e\n    \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"https://github.com/JimmyPun610/Plugin.XF.Backdrop/blob/master/iOSPreview.gif\" width=\"200\"\u003e\n    \u003c/td\u003e\n      \u003ctd\u003e\u003cimg src=\"https://github.com/JimmyPun610/Plugin.XF.Backdrop/blob/master/AndroidPreview.gif\" width=\"200\"\u003e\n        \u003c/td\u003e\n  \u003c/tr\u003e\n  \u003c/table\u003e\n  \n\n# Installation\nInstall nuget package to all your project\n```\nInstall-Package Plugin.XF.Backdrop\n```\n# How to use\nPlease refer to Sample project for more information\n1. In iOS project, in your AppDelegate.cs add below code\n```\n  LoadApplication(new App());\n  Rg.Plugins.Popup.Popup.Init();\n  Plugin.XF.Backdrop.iOS.Initializer.Init();\n  return base.FinishedLaunching(app, options);\n```\n\n2. In Forms project, create a bottom to top backdrop popup page, set the page content and parameter if needed\n```\n\u003c?xml version=\"1.0\" encoding=\"utf-8\" ?\u003e\n\u003cbackdrop:BottomToTopBackdropPopupPage xmlns=\"http://xamarin.com/schemas/2014/forms\"\n                                       xmlns:x=\"http://schemas.microsoft.com/winfx/2009/xaml\"\n                                       xmlns:d=\"http://xamarin.com/schemas/2014/forms/design\"\n                                       xmlns:mc=\"http://schemas.openxmlformats.org/markup-compatibility/2006\"\n                                       mc:Ignorable=\"d\"\n                                       xmlns:backdrop=\"clr-namespace:Plugin.XF.Backdrop;assembly=Plugin.XF.Backdrop\"\n                                       x:Class=\"Plugin.XF.Backdrop.Sample.SampleBottomToTopPopupPage\"\n                                       RoundedCorners=\"topleft,topright\" ShadowOpacity=\"0\" BorderThickness=\"3\" ShadowColor=\"Transparent\"\n                                       BorderColor=\"White\" CornerRadius=\"-1\" IndicatorColor=\"White\"\u003e\n    \u003cbackdrop:BottomToTopBackdropPopupPage.PageContent\u003e\n        \u003cContentView\u003e\n            \u003cStackLayout BackgroundColor=\"White\" HorizontalOptions=\"FillAndExpand\" VerticalOptions=\"FillAndExpand\" Spacing=\"0\"\u003e\n                \u003cContentView BackgroundColor=\"White\" Padding=\"10\" VerticalOptions=\"Center\"\u003e\n                    \u003cLabel x:Name=\"AddressLabel\"/\u003e\n                \u003c/ContentView\u003e\n                \u003cContentView HeightRequest=\"1\" HorizontalOptions=\"FillAndExpand\" BackgroundColor=\"Gray\"/\u003e\n                \u003cWebView x:Name=\"WebPage\" HorizontalOptions=\"FillAndExpand\" VerticalOptions=\"FillAndExpand\"/\u003e\n            \u003c/StackLayout\u003e\n        \u003c/ContentView\u003e\n    \u003c/backdrop:BottomToTopBackdropPopupPage.PageContent\u003e\n\u003c/backdrop:BottomToTopBackdropPopupPage\u003e\n```\n3. Popup the page\n```\n  await Rg.Plugins.Popup.Services.PopupNavigation.Instance.PushAsync(new SampleBottomToTopPopupPage());\n```\n\n# Available parameter\n```\nSwipeToCloseTime(double) - The time in ms needed to close popup by swiping (default 300ms)\nPageContent(View) - The content view of the popup\nIndicatorColor(Color) - Top indicator color\nRoundedCorners(string[]) - \"topleft\", \"topright\", \"bottomleft\", \"bottomright\", \"all\", \"none\"\nCornerRadius(double) - \"-1\" = Auto\nBorderColor(Color)\nBorderThincness(float)\nShadowColor(Color)\nShadowOpacity(float)\nShadowRadius(float)\nHorizontalShadowOffset(double)\nVerticalShadowOffset(double)\nViewMargin(Thickness) - Set the view margin to the screen\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJimmyPun610%2FPlugin.XF.Backdrop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJimmyPun610%2FPlugin.XF.Backdrop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJimmyPun610%2FPlugin.XF.Backdrop/lists"}