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
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.
GetAttachedFlyoutInherited from FlyoutBase.
GetBaseValueInherited from AvaloniaObject.
GetHashCodeGets the hash code for the object. Inherited from AvaloniaObject.
GetValue (3 overloads)Gets a Avalonia.AvaloniaProperty value. Inherited from AvaloniaObject.
HideHides the Flyout Inherited from PopupFlyoutBase.
IsAnimatingChecks whether a Avalonia.AvaloniaProperty is animating. Inherited from AvaloniaObject.
IsSetChecks whether a Avalonia.AvaloniaProperty is set on this object. Inherited from AvaloniaObject.
SetAttachedFlyoutInherited from FlyoutBase.
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.
ShowAt (2 overloads)Shows the Flyout at the given Control Inherited from PopupFlyoutBase.
ShowAttachedFlyoutInherited from FlyoutBase.
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.
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.
DispatcherReturns the Avalonia.AvaloniaObject.Dispatcher that this Avalonia.AvaloniaObject is associated with. Inherited from AvaloniaObject.
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.
HorizontalOffsetGets or sets the Horizontal 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.
ItemInherited from AvaloniaObject.
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.
TargetGets the Target used for showing the Flyout Inherited from FlyoutBase.
VerticalOffsetGets or sets the Vertical offset of the popup in relation to the Avalonia.Controls.Primitives.Popup.PlacementTarget. Inherited from PopupFlyoutBase.

Fields

NameDescription
AttachedFlyoutPropertyDefines the AttachedFlyout property Inherited from FlyoutBase.
ContentPropertyDefines the Avalonia.Controls.Flyout.Content property Inherited from Flyout.
ContentTemplatePropertyDefines the Avalonia.Controls.Flyout.ContentTemplate property. Inherited from Flyout.
CustomPopupPlacementCallbackPropertyDefines the Avalonia.Controls.Primitives.Popup.CustomPopupPlacementCallback property. Inherited from PopupFlyoutBase.
FlyoutPresenterThemePropertyDefines the Avalonia.Controls.Flyout.FlyoutPresenterTheme property. Inherited from Flyout.
HorizontalOffsetPropertyDefines the Avalonia.Controls.Primitives.Popup.HorizontalOffset property. Inherited from PopupFlyoutBase.
IsOpenPropertyDefines the Avalonia.Controls.Primitives.FlyoutBase.IsOpen property Inherited from FlyoutBase.
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.
TargetPropertyDefines the Avalonia.Controls.Primitives.FlyoutBase.Target property Inherited from FlyoutBase.
VerticalOffsetPropertyDefines the Avalonia.Controls.Primitives.Popup.VerticalOffset property. Inherited from PopupFlyoutBase.

Events

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