In This Article

BarMenuFlyout Class

Represents a menu flyout that can host any bar control.

public class BarMenuFlyout : MenuFlyout, IPopupHostProvider
Inheritance:
object AvaloniaObject FlyoutBase PopupFlyoutBase MenuFlyout object
Implements:
IPopupHostProvider

Constructors

BarMenuFlyout()

Initializes a new instance of the class.

public BarMenuFlyout()

Properties

ItemContainerTemplateSelector

The IItemContainerTemplateSelector that creates UI controls for bar control view models.

public IItemContainerTemplateSelector ItemContainerTemplateSelector { get; set; }

Property Value

IItemContainerTemplateSelector

Methods

CreatePresenter()

Used to create the content the Flyout displays

protected override Control CreatePresenter()

Returns

Control

Fields

ItemContainerTemplateSelectorProperty

Defines the ItemContainerTemplateSelector property.

public static readonly StyledProperty<IItemContainerTemplateSelector> ItemContainerTemplateSelectorProperty

Inherited Members

Extension Methods