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
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기