ShapeElement.KeyUp Event
Occurs when the user releases a key.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Event KeyUp As DiagramKeyEventHandler
public event DiagramKeyEventHandler KeyUp
public:
event DiagramKeyEventHandler^ KeyUp {
void add (DiagramKeyEventHandler^ value);
void remove (DiagramKeyEventHandler^ value);
}
member KeyUp : IEvent<DiagramKeyEventHandler,
DiagramKeyEventArgs>
JScript does not support events.
Remarks
A convenient place to add a listener for this event is InitializeInstanceResources. To override this method in your custom code, you must set the Generates Double Derived property for the shape in DSL Definition and then click Transform All Templates in Solution Explorer.
.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.