Ascetic.Plugins.PrettyPopup 1.2.1

Rg.Plugin.Popup with blur decoration. Just inherit from PrettyPopup!

There is a newer version of this package available.
See the version list below for details.
Install-Package Ascetic.Plugins.PrettyPopup -Version 1.2.1
dotnet add package Ascetic.Plugins.PrettyPopup --version 1.2.1
<PackageReference Include="Ascetic.Plugins.PrettyPopup" Version="1.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ascetic.Plugins.PrettyPopup --version 1.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

PrettyPopup

This is small and fast decoration package for blurred background effect for your Rg.Plugins.Popups

  • Install Rg.Plugins.Popup and CurrentActivityPlugin previously and setup last of them.
  • Install PrettyPopupPlugin and setup it the same way:
AsceticAscetic.Plugins.PopupDecorations.<Droid/iOS>.PrettyPopup.Init()

PrettyPopup will automatically setup Rg.Plugins.Popup inside(you can use parameters for disable such behaviur)

  • Now, you can create your popup inherited from PrettyPopup and it will have animated blurred background effect!

PrettyPopupDemo

Example:

<ascetic:PrettyPopup xmlns="http://xamarin.com/schemas/2014/forms"
	xmlns:ascetic="clr-namespace:Ascetic.Plugins.PopupDecorations;assembly=PrettyPopupPlugin"
	xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
	x:Class="PrettyPopupDemo.MyPopup">

    <Frame VerticalOptions="Center" CornerRadius="14">
        <Label VerticalOptions="Center" HorizontalOptions="Center" Text="My content"/>
    </Frame>

</ascetic:PrettyPopup>

and code behind:

public partial class MyPopup : Ascetic.Plugins.PopupDecorations.PrettyPopup
{
    private static int BlurRadius = Device.RuntimePlatform == Device.iOS ? 15: 16;

    //parameter is optional
    public MyPopup(): base(BlurRadius)
    {
        InitializeComponent();
    }
}

What's new:

v1.2.1 - possibility for customization: blur radius through popup constructor parameter(all platforms) and blurstyle for ios in initialization.
Example:

AsceticAscetic.Plugins.PopupDecorations.iOS.PrettyPopup.Init(UIBlurEffectStyle.ExtraLight);

PrettyPopup

This is small and fast decoration package for blurred background effect for your Rg.Plugins.Popups

  • Install Rg.Plugins.Popup and CurrentActivityPlugin previously and setup last of them.
  • Install PrettyPopupPlugin and setup it the same way:
AsceticAscetic.Plugins.PopupDecorations.<Droid/iOS>.PrettyPopup.Init()

PrettyPopup will automatically setup Rg.Plugins.Popup inside(you can use parameters for disable such behaviur)

  • Now, you can create your popup inherited from PrettyPopup and it will have animated blurred background effect!

PrettyPopupDemo

Example:

<ascetic:PrettyPopup xmlns="http://xamarin.com/schemas/2014/forms"
	xmlns:ascetic="clr-namespace:Ascetic.Plugins.PopupDecorations;assembly=PrettyPopupPlugin"
	xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
	x:Class="PrettyPopupDemo.MyPopup">

    <Frame VerticalOptions="Center" CornerRadius="14">
        <Label VerticalOptions="Center" HorizontalOptions="Center" Text="My content"/>
    </Frame>

</ascetic:PrettyPopup>

and code behind:

public partial class MyPopup : Ascetic.Plugins.PopupDecorations.PrettyPopup
{
    private static int BlurRadius = Device.RuntimePlatform == Device.iOS ? 15: 16;

    //parameter is optional
    public MyPopup(): base(BlurRadius)
    {
        InitializeComponent();
    }
}

What's new:

v1.2.1 - possibility for customization: blur radius through popup constructor parameter(all platforms) and blurstyle for ios in initialization.
Example:

AsceticAscetic.Plugins.PopupDecorations.iOS.PrettyPopup.Init(UIBlurEffectStyle.ExtraLight);

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.2.5 390 12/19/2019
1.2.4 98 12/13/2019
1.2.3 124 10/19/2019
1.2.1 108 10/16/2019
1.2.0 109 10/11/2019