_CommandBarButtonEvents_ClickEventHandler Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A Delegate type used to add an event handler for the Click event. The Click event occurs when the user clicks a CommandBarButton object.
public delegate void _CommandBarButtonEvents_ClickEventHandler(CommandBarButton ^ Ctrl, [Runtime::InteropServices::Out] bool % CancelDefault);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void _CommandBarButtonEvents_ClickEventHandler(CommandBarButton Ctrl, out bool CancelDefault);
[<System.Runtime.InteropServices.ComVisible(false)>]
type _CommandBarButtonEvents_ClickEventHandler = delegate of CommandBarButton * bool -> unit
Public Delegate Sub _CommandBarButtonEvents_ClickEventHandler(Ctrl As CommandBarButton, ByRef CancelDefault As Boolean)
Parameters
- Ctrl
- CommandBarButton
Required CommandBarButton. Denotes the CommandBarButton control that initiated the event.
- CancelDefault
- Boolean
Required Boolean. False if the default behavior associated with the CommandBarButton control occurs, unless it’s canceled by another process or add-in.
- Attributes
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro