Compartir a través de


Compartment.OnDoubleClick Method

Forwards the event to the compartment shape when the user double-clicks the compartment.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaración
Public Overrides Sub OnDoubleClick ( _
    e As DiagramPointEventArgs _
)
public override void OnDoubleClick(
    DiagramPointEventArgs e
)
public:
virtual void OnDoubleClick(
    DiagramPointEventArgs^ e
) override
abstract OnDoubleClick : 
        e:DiagramPointEventArgs -> unit 
override OnDoubleClick : 
        e:DiagramPointEventArgs -> unit 
public override function OnDoubleClick(
    e : DiagramPointEventArgs
)

Parameters

Remarks

To use this method, the ForwardEventsToParent property must be true.

.NET Framework Security

See Also

Reference

Compartment Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace