Ascetic.Plugins.PrettyPopup 1.2.5

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

Install-Package Ascetic.Plugins.PrettyPopup -Version 1.2.5
dotnet add package Ascetic.Plugins.PrettyPopup --version 1.2.5
<PackageReference Include="Ascetic.Plugins.PrettyPopup" Version="1.2.5" />
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.5
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 PrettyPopupPlugin and setup:
AsceticAscetic.Plugins.PopupDecorations.<Droid/iOS>.PrettyPopup.Init()

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

  • Now, you can create your popup inherited from PrettyPopup and it will have blur background effect with appearance/hiding animation!

PrettyPopup gif

Example:

<ascetic:PrettyPopup xmlns="http://xamarin.com/schemas/2014/forms"
	xmlns:ascetic="clr-namespace:Ascetic.Plugins.PopupDecorations;assembly=PrettyPopupPlugin.Core"
	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.5 - fixed solid background on ios devices
v1.2.3 - fixed MonoAndroid compatibility, core lib assembly name and documentation(note the assembly name in xaml file)
v1.2.1 - possibility for customization: blur radius through popup constructor parameter(all platforms) and blur style 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 PrettyPopupPlugin and setup:
AsceticAscetic.Plugins.PopupDecorations.<Droid/iOS>.PrettyPopup.Init()

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

  • Now, you can create your popup inherited from PrettyPopup and it will have blur background effect with appearance/hiding animation!

PrettyPopup gif

Example:

<ascetic:PrettyPopup xmlns="http://xamarin.com/schemas/2014/forms"
	xmlns:ascetic="clr-namespace:Ascetic.Plugins.PopupDecorations;assembly=PrettyPopupPlugin.Core"
	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.5 - fixed solid background on ios devices
v1.2.3 - fixed MonoAndroid compatibility, core lib assembly name and documentation(note the assembly name in xaml file)
v1.2.1 - possibility for customization: blur radius through popup constructor parameter(all platforms) and blur style for ios in initialization.
Example:

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

GitHub repositories (0)

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.2.5 367 12/19/2019
1.2.4 93 12/13/2019
1.2.3 120 10/19/2019
1.2.1 105 10/16/2019
1.2.0 107 10/11/2019