In This Article

RibbonGroupCollapsedButton Class

Represents a collapsed button control, used when a RibbonGroup is in a collapsed variant size.

public class RibbonGroupCollapsedButton : BarButton, IDataContextProvider, ILogical, IThemeVariantHost, IResourceHost, IResourceNode, IStyleHost, ISetLogicalParent, ISetInheritanceParent, IStyleable, INamed, IInputElement, IDataTemplateHost, ISetterValue, ICommandSource
Inheritance:
object AvaloniaObject Animatable StyledElement Visual Layoutable Interactive InputElement Control TemplatedControl ContentControl Button BarButton object
Implements:
IDataContextProvider ILogical IThemeVariantHost IResourceHost IResourceNode IStyleHost ISetLogicalParent ISetInheritanceParent IStyleable INamed IInputElement IDataTemplateHost ISetterValue ICommandSource

Constructors

RibbonGroupCollapsedButton()

Initializes an instance of the class.

public RibbonGroupCollapsedButton()

Properties

IsPopupOpen

Whether the popup is open.

public bool IsPopupOpen { get; set; }

Property Value

bool:

The default value is false.

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.

OnFlyoutClosed()

Invoked when the button's flyout is closed.

protected override void OnFlyoutClosed()

OnFlyoutOpened()

Invoked when the button's flyout is opened.

protected override void OnFlyoutOpened()

OnKeyDown(KeyEventArgs)

Called before the Avalonia.Input.InputElement.KeyDown event occurs.

protected override void OnKeyDown(KeyEventArgs e)
Parameter Type Description
e KeyEventArgs

The event args.

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.

Fields

IsPopupOpenProperty

Defines the IsPopupOpen property.

public static readonly StyledProperty<bool> IsPopupOpenProperty

Inherited Members

Extension Methods