DocEvents_BeforeRightClickEventHandler 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 BeforeRightClick event. The BeforeRightClick event occurs when a worksheet is right-clicked, before the default right-click action.
public delegate void DocEvents_BeforeRightClickEventHandler(Range ^ Target, [Runtime::InteropServices::Out] bool % Cancel);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void DocEvents_BeforeRightClickEventHandler(Range Target, out bool Cancel);
Public Delegate Sub DocEvents_BeforeRightClickEventHandler(Target As Range, ByRef Cancel As Boolean)
Parameters
- Target
- Range
Required. The cell nearest to the mouse pointer when the right-click occurs.
- Cancel
- Boolean
Optional. False when the event occurs. If the event procedure sets this argument to True, the default right-click action doesn't occur when the procedure is finished.
- Attributes
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla