Flyout Class

Namespace
Avalonia.Controls
Interfaces
Base Types
graph BT Type-->Base0["FlyoutBase"] click Base0 "/api/Avalonia.Controls.Primitives/FlyoutBase" Base0-->Base1["AvaloniaObject"] click Base1 "/api/Avalonia/AvaloniaObject" Base1-->Base2["object"] Type-.->Interface0["IAvaloniaObject"] click Interface0 "/api/Avalonia/IAvaloniaObject" Type-.->Interface1["IAvaloniaObjectDebug"] click Interface1 "/api/Avalonia.Diagnostics/IAvaloniaObjectDebug" Type-.->Interface2["INotifyPropertyChanged"] Type-.->Interface3["IValueSink"] Type["Flyout"] class Type type-node

Syntax

public class Flyout : FlyoutBase, IAvaloniaObject, IAvaloniaObjectDebug, INotifyPropertyChanged, 
    IValueSink

Events

Name Type Summary
Closed EventHandler?
Inherited from FlyoutBase
Closing EventHandler<CancelEventArgs>?
Inherited from FlyoutBase
Opened EventHandler?
Inherited from FlyoutBase
Opening EventHandler?
Inherited from FlyoutBase
PropertyChanged EventHandler<AvaloniaPropertyChangedEventArgs>
Raised when a AvaloniaProperty value changes on this object.
Inherited from AvaloniaObject

Fields

Name Constant Value Summary
AttachedFlyoutProperty
Defines the AttachedFlyout property
Inherited from FlyoutBase
static
ContentProperty
Defines the Content property
static
PlacementProperty
Defines the Placement property
Inherited from FlyoutBase
static
ShowModeProperty
Defines the ShowMode property
Inherited from FlyoutBase
static
TargetProperty
Defines the Target property
Inherited from FlyoutBase
static

Properties

Name Value Summary
Content object
Gets or sets the content to display in this flyout
FlyoutPresenterClasses Classes
Gets the Classes collection to apply to the FlyoutPresenter this Flyout is hosting
InheritanceParent IAvaloniaObject
Gets or sets the parent object that inherited AvaloniaProperty values are inherited from.
Inherited from AvaloniaObject
IsOpen bool
Gets whether this Flyout is currently Open
Inherited from FlyoutBase
Placement FlyoutPlacementMode
Gets or sets the desired placement
Inherited from FlyoutBase
Popup Popup?
Inherited from FlyoutBase
ShowMode FlyoutShowMode
Gets or sets the desired ShowMode
Inherited from FlyoutBase
Target Control?
Gets the Target used for showing the Flyout
Inherited from FlyoutBase
this[AvaloniaProperty] object
Gets or sets the value of a AvaloniaProperty.
Inherited from AvaloniaObject
this[IndexerDescriptor] IBinding
Gets or sets a binding for a AvaloniaProperty.
Inherited from AvaloniaObject

Methods

Name Value Summary
BeginBatchUpdate() void
Inherited from AvaloniaObject
Bind<T>(DirectPropertyBase<T>, IObservable<BindingValue<T>>) IDisposable
Binds a AvaloniaProperty to an observable.
Inherited from AvaloniaObject
Bind<T>(StyledPropertyBase<T>, IObservable<BindingValue<T>>, BindingPriority) IDisposable
Binds a AvaloniaProperty to an observable.
Inherited from AvaloniaObject
CheckAccess() bool
Inherited from AvaloniaObject
ClearValue(AvaloniaProperty) void
Clears a AvaloniaProperty's local value.
Inherited from AvaloniaObject
ClearValue<T>(AvaloniaProperty<T>) void
Clears a AvaloniaProperty's local value.
Inherited from AvaloniaObject
ClearValue<T>(DirectPropertyBase<T>) void
Clears a AvaloniaProperty's local value.
Inherited from AvaloniaObject
ClearValue<T>(StyledPropertyBase<T>) void
Clears a AvaloniaProperty's local value.
Inherited from AvaloniaObject
CoerceValue<T>(StyledPropertyBase<T>) void
Coerces the specified AvaloniaProperty.
Inherited from AvaloniaObject
CreatePresenter() Control
EndBatchUpdate() void
Inherited from AvaloniaObject
Equals(object) bool
Compares two objects using reference equality.
Inherited from AvaloniaObject
GetAttachedFlyout(Control) FlyoutBase?
Inherited from FlyoutBase
static
GetBaseValue<T>(StyledPropertyBase<T>, BindingPriority) Optional<T>
Gets an AvaloniaProperty base value.
Inherited from AvaloniaObject
GetHashCode() int
Gets the hash code for the object.
Inherited from AvaloniaObject
GetValue(AvaloniaProperty) object
Gets a AvaloniaProperty value.
Inherited from AvaloniaObject
GetValue<T>(DirectPropertyBase<T>) T
Gets a AvaloniaProperty value.
Inherited from AvaloniaObject
GetValue<T>(StyledPropertyBase<T>) T
Gets a AvaloniaProperty value.
Inherited from AvaloniaObject
Hide() void
Hides the Flyout
Inherited from FlyoutBase
HideCore(bool) void
Inherited from FlyoutBase
IsAnimating(AvaloniaProperty) bool
Checks whether a AvaloniaProperty is animating.
Inherited from AvaloniaObject
IsSet(AvaloniaProperty) bool
Checks whether a AvaloniaProperty is set on this object.
Inherited from AvaloniaObject
OnClosed() void
Inherited from FlyoutBase
OnClosing(CancelEventArgs) void
Inherited from FlyoutBase
OnOpened() void
OnOpening() void
Inherited from FlyoutBase
SetAttachedFlyout(Control, FlyoutBase?) void
Inherited from FlyoutBase
static
SetValue(AvaloniaProperty, object, BindingPriority) void
Sets a AvaloniaProperty value.
Inherited from AvaloniaObject
SetValue<T>(DirectPropertyBase<T>, T) void
Sets a AvaloniaProperty value.
Inherited from AvaloniaObject
SetValue<T>(StyledPropertyBase<T>, T, BindingPriority) IDisposable
Sets a AvaloniaProperty value.
Inherited from AvaloniaObject
ShowAt(Control) void
Shows the Flyout at the given Control
Inherited from FlyoutBase
ShowAt(Control, bool) void
Shows the Flyout for the given control at the current pointer location, as in a ContextFlyout
Inherited from FlyoutBase
ShowAtCore(Control, bool) void
Inherited from FlyoutBase
ShowAttachedFlyout(Control) void
Inherited from FlyoutBase
static
VerifyAccess() void
Inherited from AvaloniaObject

Extension Methods

Name Value Summary
Bind(AvaloniaProperty, IObservable<BindingValue<object>>, BindingPriority) IDisposable
Binds a AvaloniaProperty to an observable.
Bind<T>(AvaloniaProperty<T>, IObservable<BindingValue<T>>, BindingPriority) IDisposable
Binds a AvaloniaProperty to an observable.
GetBindingObservable(AvaloniaProperty) IObservable<BindingValue<object>>
Gets an observable for a AvaloniaProperty.
GetBindingObservable<T>(AvaloniaProperty<T>) IObservable<BindingValue<T>>
Gets an observable for a AvaloniaProperty.
GetBindingSubject(AvaloniaProperty, BindingPriority) ISubject<BindingValue<object>>
Gets a subject for a AvaloniaProperty.
GetBindingSubject<T>(AvaloniaProperty<T>, BindingPriority) ISubject<BindingValue<T>>
Gets a subject for a AvaloniaProperty.
GetDiagnostic(AvaloniaProperty) AvaloniaPropertyValue
Gets a diagnostic for a AvaloniaProperty on a AvaloniaObject.
GetObservable(AvaloniaProperty) IObservable<object>
Gets an observable for a AvaloniaProperty.
GetObservable<T>(AvaloniaProperty<T>) IObservable<T>
Gets an observable for a AvaloniaProperty.
GetPropertyChangedObservable(AvaloniaProperty) IObservable<AvaloniaPropertyChangedEventArgs>
Gets an observable that listens for property changed events for an AvaloniaProperty.
GetSubject(AvaloniaProperty, BindingPriority) ISubject<object>
Gets a subject for a AvaloniaProperty.
GetSubject<T>(AvaloniaProperty<T>, BindingPriority) ISubject<T>
Gets a subject for a AvaloniaProperty.