Northwoods.GoSilverlight 1.3.5 Assembly
DoKeyDown Method
See Also  Send Feedback
Northwoods.GoXam.Tool Namespace > DiagramTool Class : DoKeyDown Method

e
The diagram will call this method upon a key down event.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub DoKeyDown( _
   ByVal e As KeyEventArgs _
) 
C# 
public virtual void DoKeyDown( 
   KeyEventArgs e
)

Parameters

e

Remarks

By default this just calls DoCancel if the key is the ESCAPE key.

In WPF this key event method isn't called because of the command mechanism. If you want this method to be called, override DoStart to call this.Diagram.CommandHandler.RemoveStandardBindings() and override DoStop to call this.Diagram.CommandHandler.AddStandardBindings(). In Silverlight there are no commands, so this method is always called.

Requirements

See Also

© 2012 All Rights Reserved.