Flyout Class

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public class Flyout : PopupFlyoutBase
Inheritance
Object    AvaloniaObject    FlyoutBase    PopupFlyoutBase    Flyout

Constructors

FlyoutInitializes a new instance of the Flyout class

Properties

Content Gets or sets the content to display in this flyout
CustomPopupPlacementCallback Gets or sets a delegate handler method that positions the Popup control, when Placement is set to Custom.
(Inherited from PopupFlyoutBase)
FlyoutPresenterClasses Gets the Classes collection to apply to the FlyoutPresenter this Flyout is hosting
FlyoutPresenterTheme Gets or sets the ControlTheme that is applied to the container element generated for the flyout presenter.
HorizontalOffset Gets or sets the Horizontal offset of the popup in relation to the PlacementTarget.
(Inherited from PopupFlyoutBase)
InheritanceParent
(Inherited from AvaloniaObject)
IsOpen Gets whether this Flyout is currently Open
(Inherited from FlyoutBase)
Item
(Inherited from AvaloniaObject)
Item
(Inherited from AvaloniaObject)
OverlayDismissEventPassThrough Gets or sets a value indicating whether the event that closes the flyout is passed through to the parent window.
(Inherited from PopupFlyoutBase)
OverlayInputPassThroughElement Gets or sets an element that should receive pointer input events even when underneath the flyout's overlay.
(Inherited from PopupFlyoutBase)
Placement Gets or sets the desired placement of the popup in relation to the PlacementTarget.
(Inherited from PopupFlyoutBase)
PlacementAnchor Gets or sets the anchor point on the PlacementRect when Placement is AnchorAndGravity.
(Inherited from PopupFlyoutBase)
PlacementConstraintAdjustment Gets or sets a value describing how the popup position will be adjusted if the unadjusted position would result in the popup being partly constrained.
(Inherited from PopupFlyoutBase)
PlacementGravity Gets or sets a value which defines in what direction the popup should open when Placement is AnchorAndGravity.
(Inherited from PopupFlyoutBase)
Popup
(Inherited from PopupFlyoutBase)
ShowMode Gets or sets the desired ShowMode
(Inherited from PopupFlyoutBase)
Target Gets the Target used for showing the Flyout
(Inherited from FlyoutBase)
VerticalOffset Gets or sets the Vertical offset of the popup in relation to the PlacementTarget.
(Inherited from PopupFlyoutBase)

Methods

Bind(AvaloniaProperty, IBinding)
(Inherited from AvaloniaObject)
Bind(AvaloniaProperty, IObservableObject, BindingPriority)
(Inherited from AvaloniaObject)
Bind``1(DirectPropertyBaseUMP, IObservableUMP)
(Inherited from AvaloniaObject)
Bind``1(DirectPropertyBaseUMP, IObservableBindingValueUMP)
(Inherited from AvaloniaObject)
Bind``1(DirectPropertyBaseUMP, IObservableObject)
(Inherited from AvaloniaObject)
Bind``1(StyledPropertyUMP, IObservableUMP, BindingPriority)
(Inherited from AvaloniaObject)
Bind``1(StyledPropertyUMP, IObservableBindingValueUMP, BindingPriority)
(Inherited from AvaloniaObject)
Bind``1(StyledPropertyUMP, IObservableObject, BindingPriority)
(Inherited from AvaloniaObject)
CheckAccess
(Inherited from AvaloniaObject)
ClearValue(AvaloniaProperty)
(Inherited from AvaloniaObject)
ClearValue``1(AvaloniaPropertyUMP)
(Inherited from AvaloniaObject)
ClearValue``1(DirectPropertyBaseUMP)
(Inherited from AvaloniaObject)
ClearValue``1(StyledPropertyUMP)
(Inherited from AvaloniaObject)
CoerceValue(AvaloniaProperty)
(Inherited from AvaloniaObject)
CreatePresenter
(Overrides PopupFlyoutBaseCreatePresenter)
Equals(Object)
(Inherited from AvaloniaObject)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetBaseValue``1(StyledPropertyUMP)
(Inherited from AvaloniaObject)
GetHashCode
(Inherited from AvaloniaObject)
GetTypeGets the Type of the current instance.
(Inherited from Object)
GetValue(AvaloniaProperty)
(Inherited from AvaloniaObject)
GetValue``1(DirectPropertyBaseUMP)
(Inherited from AvaloniaObject)
GetValue``1(StyledPropertyUMP)
(Inherited from AvaloniaObject)
Hide Hides the Flyout
(Inherited from PopupFlyoutBase)
HideCore(Boolean)
(Inherited from PopupFlyoutBase)
IsAnimating(AvaloniaProperty)
(Inherited from AvaloniaObject)
IsSet(AvaloniaProperty)
(Inherited from AvaloniaObject)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnClosed
(Inherited from FlyoutBase)
OnClosing(CancelEventArgs)
(Inherited from PopupFlyoutBase)
OnOpened
(Inherited from FlyoutBase)
OnOpening(CancelEventArgs)
(Overrides PopupFlyoutBaseOnOpening(CancelEventArgs))
OnPropertyChanged(AvaloniaPropertyChangedEventArgs)
(Inherited from AvaloniaObject)
OnPropertyChangedCore(AvaloniaPropertyChangedEventArgs)
(Inherited from AvaloniaObject)
RaisePropertyChanged``1(DirectPropertyBaseUMP, UMP, UMP)
(Inherited from AvaloniaObject)
SetAndRaise``1(DirectPropertyBaseUMP, UMP, UMP)
(Inherited from AvaloniaObject)
SetCurrentValue(AvaloniaProperty, Object)
(Inherited from AvaloniaObject)
SetCurrentValue``1(StyledPropertyUMP, UMP)
(Inherited from AvaloniaObject)
SetValue(AvaloniaProperty, Object, BindingPriority)
(Inherited from AvaloniaObject)
SetValue``1(DirectPropertyBaseUMP, UMP)
(Inherited from AvaloniaObject)
SetValue``1(StyledPropertyUMP, UMP, BindingPriority)
(Inherited from AvaloniaObject)
ShowAt(Control) Shows the Flyout at the given Control
(Inherited from PopupFlyoutBase)
ShowAt(Control, Boolean) Shows the Flyout for the given control at the current pointer location, as in a ContextFlyout
(Inherited from PopupFlyoutBase)
ShowAtCore(Control, Boolean)
(Inherited from PopupFlyoutBase)
ToStringReturns a string that represents the current object.
(Inherited from Object)
UpdateDataValidation(AvaloniaProperty, BindingValueType, Exception)
(Inherited from AvaloniaObject)
VerifyAccess
(Inherited from AvaloniaObject)

Events

Closed
(Inherited from FlyoutBase)
Closing
(Inherited from PopupFlyoutBase)
Opened
(Inherited from FlyoutBase)
Opening
(Inherited from PopupFlyoutBase)
PropertyChanged
(Inherited from AvaloniaObject)

Fields

ContentProperty Defines the Content property
FlyoutPresenterThemeProperty Defines the FlyoutPresenterTheme property.

See Also