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
'宣言
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
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramKeyEventArgs
The event arguments.
Remarks
To use this method, the ForwardEventsToParent property must be true.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.