In This Article

RibbonOptionsButton Class

Represents an options button for a ActiproSoftware.UI.Avalonia.Controls.Bars.Primitives.RibbonOptionsButton.Ribbon.

public class RibbonOptionsButton : BarPopupButtonBase, IDataContextProvider, IThemeVariantHost, IResourceHost, IResourceNode, IStyleHost, ISetLogicalParent, ISetInheritanceParent, IStyleable, INamed, IDataTemplateHost, ISetterValue, IChildIndexProvider, IFocusScope, IInputElement, ILogical, ICommandSource
Inheritance:
object AvaloniaObject Animatable StyledElement Visual Layoutable Interactive InputElement Control TemplatedControl ItemsControl SelectingItemsControl MenuBase BarPopupButtonBase object
Implements:
IDataContextProvider IThemeVariantHost IResourceHost IResourceNode IStyleHost ISetLogicalParent ISetInheritanceParent IStyleable INamed IDataTemplateHost ISetterValue IChildIndexProvider IFocusScope IInputElement ILogical ICommandSource

Constructors

RibbonOptionsButton()

Initializes an instance of the class.

public RibbonOptionsButton()

Methods

OnCreateAutomationPeer()

Returns a new, type-specific Avalonia.Automation.Peers.AutomationPeer implementation for the control.

protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer:

The type-specific Avalonia.Automation.Peers.AutomationPeer implementation.

OnKeyTipOpening(KeyTipOpeningEventArgs)

Occurs when the control's key tip is opening.

protected override void OnKeyTipOpening(KeyTipOpeningEventArgs e)
Parameter Type Description
e KeyTipOpeningEventArgs

The KeyTipOpeningEventArgs containing data related to this event.

OnOpening(CancelRoutedEventArgs)

Occurs before the Avalonia.Controls.MenuBase.IsOpen property changes to true.

protected override void OnOpening(CancelRoutedEventArgs e)
Parameter Type Description
e CancelRoutedEventArgs

The Avalonia.Interactivity.CancelRoutedEventArgs that contains the event data.

Inherited Members

Extension Methods