Back to API Reference
Class
ButtonContextMenuItem
abstract
Inherits:ContextMenuItem
Binds an existing Button to an action run through the presenting menu. Subclasses supply the action and when it applies; the button itself — label, icon, style — is yours.
Derived Types(2)
Types that inherit from ButtonContextMenuItem.
CC
ActionContextMenuItem
Binds a button to a runtime callback. Set [[onlyWithSelection]] to hide it on a bare caret.
CommandContextMenuItem
Binds a button to one standard [[ContextMenuAction]], raised through [[RequestAction]], which routes to the presenter recorded by the last Show — the editable / selectable that opened the menu executes it, so paste can route through the platform-correct pipeline.
