Partager via


Compartment.OnKeyUp Method

Forwards the event to the compartment shape when the user releases a key.

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

Syntax

'Déclaration
Public Overrides Sub OnKeyUp ( _
    e As DiagramKeyEventArgs _
)
public override void OnKeyUp(
    DiagramKeyEventArgs e
)
public:
virtual void OnKeyUp(
    DiagramKeyEventArgs^ e
) override
abstract OnKeyUp : 
        e:DiagramKeyEventArgs -> unit 
override OnKeyUp : 
        e:DiagramKeyEventArgs -> unit 
public override function OnKeyUp(
    e : DiagramKeyEventArgs
)

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