Skip to main content

EditorSelectionFlyout Class

Definition

Assembly:Avalonia.Controls.RichTextEditor
Package:Avalonia.Controls.RichTextEditor

Selection flyout that hosts a unified toolbar for the editor mini-bar.

public class EditorSelectionFlyout

Inheritance: object -> AvaloniaObject -> FlyoutBase -> PopupFlyoutBase -> Flyout -> EditorSelectionFlyout

Remarks

The flyout content is a single Avalonia.Controls.Documents.Primitives.Toolbar.EditorToolbar that uses ActiveTargetAreas to show or hide tools based on the current caret context (text, block, table, list). No content-switching is needed.

Constructors

NameDescription
EditorSelectionFlyoutNo summary available.

EditorSelectionFlyout Constructor

public EditorSelectionFlyout()

Methods

NameDescription
HideHides the Flyout Inherited from PopupFlyoutBase.
ShowAt (2 overloads)Shows the Flyout at the given Control Inherited from PopupFlyoutBase.
GetAttachedFlyoutInherited from FlyoutBase.
SetAttachedFlyoutInherited from FlyoutBase.
ShowAttachedFlyoutInherited from FlyoutBase.
Bind (8 overloads)Binds a Avalonia.AvaloniaProperty to an Avalonia.Data.BindingBase. Inherited from AvaloniaObject.
CheckAccessReturns 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.
CoerceValueCoerces the specified Avalonia.AvaloniaProperty. Inherited from AvaloniaObject.
EqualsCompares two objects using reference equality. Inherited from AvaloniaObject.
GetBaseValueInherited from AvaloniaObject.
GetHashCodeGets the hash code for the object. Inherited from AvaloniaObject.
GetValue (3 overloads)Gets a Avalonia.AvaloniaProperty value. Inherited from AvaloniaObject.
IsAnimatingChecks whether a Avalonia.AvaloniaProperty is animating. Inherited from AvaloniaObject.
IsSetChecks 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.
VerifyAccessChecks that the current thread is the UI thread and throws if not. Inherited from AvaloniaObject.

Properties

NameDescription
ContentGets or sets the content to display in this flyout Inherited from Flyout.
ContentTemplateGets or sets the data template used to display the content of the flyout. Inherited from Flyout.
FlyoutPresenterClassesGets the Classes collection to apply to the FlyoutPresenter this Flyout is hosting Inherited from Flyout.
FlyoutPresenterThemeGets or sets the Avalonia.Styling.ControlTheme that is applied to the container element generated for the flyout presenter. Inherited from Flyout.
CustomPopupPlacementCallbackGets 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.
HorizontalOffsetGets or sets the Horizontal offset of the popup in relation to the Avalonia.Controls.Primitives.Popup.PlacementTarget. Inherited from PopupFlyoutBase.
OverlayDismissEventPassThroughGets or sets a value indicating whether the event that closes the flyout is passed through to the parent window. Inherited from PopupFlyoutBase.
OverlayInputPassThroughElementGets or sets an element that should receive pointer input events even when underneath the flyout's overlay. Inherited from PopupFlyoutBase.
PlacementGets or sets the desired placement of the popup in relation to the Avalonia.Controls.Primitives.Popup.PlacementTarget. Inherited from PopupFlyoutBase.
PlacementAnchorGets 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.
PlacementConstraintAdjustmentGets 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.
PlacementGravityGets 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.
PopupInherited from PopupFlyoutBase.
ShowModeGets or sets the desired ShowMode Inherited from PopupFlyoutBase.
VerticalOffsetGets or sets the Vertical offset of the popup in relation to the Avalonia.Controls.Primitives.Popup.PlacementTarget. Inherited from PopupFlyoutBase.
IsOpenGets or sets whether this Flyout is currently open. Inherited from FlyoutBase.
TargetGets the Target used for showing the Flyout Inherited from FlyoutBase.
DispatcherReturns the Avalonia.AvaloniaObject.Dispatcher that this Avalonia.AvaloniaObject is associated with. Inherited from AvaloniaObject.
ItemInherited from AvaloniaObject.

Fields

NameDescription
ContentPropertyDefines the Avalonia.Controls.Flyout.Content property Inherited from Flyout.
ContentTemplatePropertyDefines the Avalonia.Controls.Flyout.ContentTemplate property. Inherited from Flyout.
FlyoutPresenterThemePropertyDefines the Avalonia.Controls.Flyout.FlyoutPresenterTheme property. Inherited from Flyout.
CustomPopupPlacementCallbackPropertyDefines the Avalonia.Controls.Primitives.Popup.CustomPopupPlacementCallback property. Inherited from PopupFlyoutBase.
HorizontalOffsetPropertyDefines the Avalonia.Controls.Primitives.Popup.HorizontalOffset property. Inherited from PopupFlyoutBase.
OverlayDismissEventPassThroughPropertyDefines the Avalonia.Controls.Primitives.PopupFlyoutBase.OverlayDismissEventPassThrough property Inherited from PopupFlyoutBase.
OverlayInputPassThroughElementPropertyDefines the Avalonia.Controls.Primitives.PopupFlyoutBase.OverlayInputPassThroughElement property Inherited from PopupFlyoutBase.
PlacementAnchorPropertyDefines the Avalonia.Controls.Primitives.Popup.PlacementAnchor property. Inherited from PopupFlyoutBase.
PlacementConstraintAdjustmentPropertyDefines the Avalonia.Controls.Primitives.PopupFlyoutBase.PlacementConstraintAdjustment property Inherited from PopupFlyoutBase.
PlacementGravityPropertyDefines the Avalonia.Controls.Primitives.Popup.PlacementAnchor property. Inherited from PopupFlyoutBase.
PlacementPropertyDefines the Avalonia.Controls.Primitives.Popup.Placement property. Inherited from PopupFlyoutBase.
ShowModePropertyDefines the Avalonia.Controls.Primitives.PopupFlyoutBase.ShowMode property Inherited from PopupFlyoutBase.
VerticalOffsetPropertyDefines the Avalonia.Controls.Primitives.Popup.VerticalOffset property. Inherited from PopupFlyoutBase.
AttachedFlyoutPropertyDefines the AttachedFlyout property Inherited from FlyoutBase.
IsOpenPropertyDefines the Avalonia.Controls.Primitives.FlyoutBase.IsOpen property Inherited from FlyoutBase.
TargetPropertyDefines the Avalonia.Controls.Primitives.FlyoutBase.Target property Inherited from FlyoutBase.

Events

NameDescription
ClosingInherited from PopupFlyoutBase.
OpeningInherited from PopupFlyoutBase.
ClosedInherited from FlyoutBase.
OpenedInherited from FlyoutBase.
PropertyChangedRaised when a Avalonia.AvaloniaProperty value changes on this object. Inherited from AvaloniaObject.