Share via


Popup<T> Class

Definition

The popup control's base implementation.

public abstract class Popup<T> : Xamarin.CommunityToolkit.UI.Views.BasePopup

Type Parameters

T
Inheritance
Derived

Constructors

Popup<T>()

Initalizes a default implementation of Popup<T>.

Properties

Anchor

Gets or sets the View anchor.

(Inherited from BasePopup)
Color

Gets or sets the Color of the Popup.

(Inherited from BasePopup)
Content

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

(Inherited from BasePopup)
HorizontalOptions

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

(Inherited from BasePopup)
IsLightDismissEnabled

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

(Inherited from BasePopup)
Result

Gets the final result of the dismissed popup.

Size

Gets or sets the Size of the Popup Display.

(Inherited from BasePopup)
VerticalOptions

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

(Inherited from BasePopup)

Methods

Dismiss(T)

Dismiss the current popup.

GetLightDismissResult()

Gets the light dismiss default result.

LightDismiss()

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

On<T>() (Inherited from BasePopup)
OnBindingContextChanged() (Inherited from BasePopup)
OnDismissed(Object)

Invokes the Dismissed event.

(Inherited from BasePopup)
Reset()

Resets the Popup.

Events

Dismissed

Dismissed event is invoked when the popup is closed.

(Inherited from BasePopup)
Opened

Opened event is invoked when the popup is opened.

(Inherited from BasePopup)

Applies to