共用方式為


EApplication_WindowBeforeDoubleClickEventHandler Delegate

A delegate for an event in the corresponding object. After you implement a callback method for the event, use this delegate to connect the callback method to the event.

Occurs when you double-click the items in the views listed in the following table.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub EApplication_WindowBeforeDoubleClickEventHandler ( _
    Sel As Selection, _
    <OutAttribute> ByRef Cancel As Boolean _
)
'Usage
Dim instance As New EApplication_WindowBeforeDoubleClickEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void EApplication_WindowBeforeDoubleClickEventHandler(
    Selection Sel,
    out bool Cancel
)

Parameters

  • Cancel
    Type: System.Boolean
    false when the event occurs. If the event procedure sets this argument to true, the default double-click action isn't performed when the procedure is finished.

Remarks

View

Item

Normal or slide view

Shape

Slide sorter view

Slide

Notes page view

Slide image

The default double-click action occurs after this event unless the Cancel argument is set to true.

See Also

Reference

Microsoft.Office.Interop.PowerPoint Namespace

WindowBeforeDoubleClick