Version

BeforeMiniToolbarShown Event

Occurs before the mini-toolbar is shown to the user as a result of a context menu appearing.
Syntax
'Declaration
 
Public Event BeforeMiniToolbarShown As BeforeMiniToolbarShownEventHandler
public event BeforeMiniToolbarShownEventHandler BeforeMiniToolbarShown
Event Data

The event handler receives an argument of type BeforeMiniToolbarShownEventArgs containing data related to this event. The following BeforeMiniToolbarShownEventArgs properties provide information specific to this event.

PropertyDescription
Cancel (Inherited from System.ComponentModel.CancelEventArgs) 
PopupTool Gets the popup tool that was shown as a context menu. This will be null if the mini-toolbar has been shown by calling the Show method.
SourceControl Gets the control for which the context menu accompanying this mini-toolbar was shown. This will be null if the mini-toolbar has been shown by calling the Show method.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also