Flyout Class
Definition
public class Flyout
Constructors
| Name | Description |
|---|---|
| Flyout | No summary available. |
Flyout Constructor
public Flyout()
Methods
| Name | Description |
|---|---|
| Hide | Hides the Flyout Inherited from PopupFlyoutBase. |
| ShowAt (2 overloads) | Shows the Flyout at the given Control Inherited from PopupFlyoutBase. |
| GetAttachedFlyout | Inherited from FlyoutBase. |
| SetAttachedFlyout | Inherited from FlyoutBase. |
| ShowAttachedFlyout | Inherited from FlyoutBase. |
| Bind (8 overloads) | Binds a Avalonia.AvaloniaProperty to an Avalonia.Data.BindingBase. Inherited from AvaloniaObject. |
| CheckAccess | Returns a value indicating whether the current thread is the UI thread. Inherited from AvaloniaObject. |
| ClearValue (4 overloads) | Clears a Avalonia.AvaloniaProperty's local value. Inherited from AvaloniaObject. |
| CoerceValue | Coerces the specified Avalonia.AvaloniaProperty. Inherited from AvaloniaObject. |
| Equals | Compares two objects using reference equality. Inherited from AvaloniaObject. |
| GetBaseValue | Inherited from AvaloniaObject. |
| GetHashCode | Gets the hash code for the object. Inherited from AvaloniaObject. |
| GetValue (3 overloads) | Gets a Avalonia.AvaloniaProperty value. Inherited from AvaloniaObject. |
| IsAnimating | Checks whether a Avalonia.AvaloniaProperty is animating. Inherited from AvaloniaObject. |
| IsSet | Checks whether a Avalonia.AvaloniaProperty is set on this object. Inherited from AvaloniaObject. |
| SetCurrentValue (2 overloads) | Sets the value of a dependency property without changing its value source. Inherited from AvaloniaObject. |
| SetValue (3 overloads) | Sets a Avalonia.AvaloniaProperty value. Inherited from AvaloniaObject. |
| VerifyAccess | Checks that the current thread is the UI thread and throws if not. Inherited from AvaloniaObject. |
Properties
| Name | Description |
|---|---|
| Content | Gets or sets the content to display in this flyout |
| ContentTemplate | Gets or sets the data template used to display the content of the flyout. |
| FlyoutPresenterClasses | Gets the Classes collection to apply to the FlyoutPresenter this Flyout is hosting |
| FlyoutPresenterTheme | Gets or sets the Avalonia.Styling.ControlTheme that is applied to the container element generated for the flyout presenter. |
| CustomPopupPlacementCallback | Gets or sets a delegate handler method that positions the Popup control, when Avalonia.Controls.Primitives.Popup.Placement is set to Avalonia.Controls.PlacementMode.Custom. Inherited from PopupFlyoutBase. |
| HorizontalOffset | Gets or sets the Horizontal offset of the popup in relation to the Avalonia.Controls.Primitives.Popup.PlacementTarget. Inherited from PopupFlyoutBase. |
| 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 Avalonia.Controls.Primitives.Popup.PlacementTarget. Inherited from PopupFlyoutBase. |
| PlacementAnchor | Gets or sets the anchor point on the Avalonia.Controls.Primitives.Popup.PlacementRect when Avalonia.Controls.Primitives.Popup.Placement is Avalonia.Controls.PlacementMode.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 Avalonia.Controls.Primitives.Popup.Placement is Avalonia.Controls.PlacementMode.AnchorAndGravity. Inherited from PopupFlyoutBase. |
| Popup | Inherited from PopupFlyoutBase. |
| ShowMode | Gets or sets the desired ShowMode Inherited from PopupFlyoutBase. |
| VerticalOffset | Gets or sets the Vertical offset of the popup in relation to the Avalonia.Controls.Primitives.Popup.PlacementTarget. Inherited from PopupFlyoutBase. |
| IsOpen | Gets whether this Flyout is currently Open Inherited from FlyoutBase. |
| Target | Gets the Target used for showing the Flyout Inherited from FlyoutBase. |
| Dispatcher | Returns the Avalonia.AvaloniaObject.Dispatcher that this Avalonia.AvaloniaObject is associated with. Inherited from AvaloniaObject. |
| Item | Inherited from AvaloniaObject. |
Content Property
Gets or sets the content to display in this flyout
public object Content { get; set; }
ContentTemplate Property
Gets or sets the data template used to display the content of the flyout.
public Avalonia.Controls.Templates.IDataTemplate ContentTemplate { get; set; }
FlyoutPresenterClasses Property
Gets the Classes collection to apply to the FlyoutPresenter this Flyout is hosting
public Avalonia.Controls.Classes FlyoutPresenterClasses { get; set; }
FlyoutPresenterTheme Property
Gets or sets the Avalonia.Styling.ControlTheme that is applied to the container element generated for the flyout presenter.
public Avalonia.Styling.ControlTheme FlyoutPresenterTheme { get; set; }
Fields
ContentProperty Field
Defines the Avalonia.Controls.Flyout.Content property
public Avalonia.StyledProperty<object> ContentProperty
ContentTemplateProperty Field
Defines the Avalonia.Controls.Flyout.ContentTemplate property.
public Avalonia.StyledProperty<Avalonia.Controls.Templates.IDataTemplate> ContentTemplateProperty
FlyoutPresenterThemeProperty Field
Defines the Avalonia.Controls.Flyout.FlyoutPresenterTheme property.
public Avalonia.StyledProperty<Avalonia.Styling.ControlTheme> FlyoutPresenterThemeProperty
Events
| Name | Description |
|---|---|
| Closing | Inherited from PopupFlyoutBase. |
| Opening | Inherited from PopupFlyoutBase. |
| Closed | Inherited from FlyoutBase. |
| Opened | Inherited from FlyoutBase. |
| PropertyChanged | Raised when a Avalonia.AvaloniaProperty value changes on this object. Inherited from AvaloniaObject. |