WorkbookEvents_SheetBeforeRightClickEventHandler Delegado

Definición

Tipo de delegado que se usa para agregar un controlador de eventos para el SheetBeforeRightClick evento. El evento SheetBeforeRightClick se produce cuando se hace clic con el botón derecho en cualquier hoja de cálculo, antes de la acción predeterminada de clic con el botón derecho.

public delegate void WorkbookEvents_SheetBeforeRightClickEventHandler(System::Object ^ Sh, Range ^ Target, [Runtime::InteropServices::Out] bool % Cancel);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void WorkbookEvents_SheetBeforeRightClickEventHandler(object Sh, Range Target, out bool Cancel);
Public Delegate Sub WorkbookEvents_SheetBeforeRightClickEventHandler(Sh As Object, Target As Range, ByRef Cancel As Boolean)

Parámetros

Sh
Object

Objeto Worksheet que representa la hoja.

Target
Range

La celda más cercana al puntero del mouse cuando se hace clic con el botón secundario.

Cancel
Boolean

False cuando se produce el evento. Si el procedimiento de evento establece el valor de argumento en True, la acción de doble clic predeterminada no se realiza al finalizar el procedimiento.

Atributos

Se aplica a