Share via


BasePopup Class

Definition

The popup control's base implementation.

[Xamarin.Forms.ContentProperty("Content")]
public abstract class BasePopup : Xamarin.Forms.VisualElement, Xamarin.Forms.IElementConfiguration<Xamarin.CommunityToolkit.UI.Views.BasePopup>
Inheritance
BasePopup
Derived
Attributes
Implements

Constructors

BasePopup()

Instantiates a new instance of BasePopup.

Fields

ColorProperty
ContentProperty
HorizontalOptionsProperty
SizeProperty
VerticalOptionsProperty

Properties

Anchor

Gets or sets the View anchor.

Color

Gets or sets the Color of the Popup.

Content

Gets or sets the View content to render in the Popup.

HorizontalOptions

Gets or sets the LayoutOptions for positioning the Popup horizontally on the screen.

IsLightDismissEnabled

Gets or sets a value indicating whether the popup can be light dismissed.

Size

Gets or sets the Size of the Popup Display.

VerticalOptions

Gets or sets the LayoutOptions for positioning the Popup vertically on the screen.

Methods

LightDismiss()

Invoked when the popup is light dismissed. In other words when the user taps outside of the popup and it closes.

On<T>()
OnBindingContextChanged()
OnDismissed(Object)

Invokes the Dismissed event.

Events

Dismissed

Dismissed event is invoked when the popup is closed.

Opened

Opened event is invoked when the popup is opened.

Applies to