RichTextBox for WinRT
KeyDown Event (C1RichTextBox)


Occurs when a keyboard key is pressed while the C1RichTextBox has focus.
Syntax
'Declaration
 
Public Shadows Event KeyDown As Windows.UI.Xaml.Input.KeyEventHandler
'Usage
 
Dim instance As C1RichTextBox
Dim handler As Windows.UI.Xaml.Input.KeyEventHandler
 
AddHandler instance.KeyDown, handler
public new event Windows.UI.Xaml.Input.KeyEventHandler KeyDown
Event Data

The event handler receives an argument of type Windows.UI.Xaml.Input.KeyRoutedEventArgs containing data related to this event. The following KeyRoutedEventArgs properties provide information specific to this event.

PropertyDescription
Handled  
Key  
KeyStatus  
OriginalSource (Inherited from Windows.UI.Xaml.RoutedEventArgs)
Remarks
This event overrides Windows.UI.Xaml.UIElement's KeyDown in order to allow handlers to prevent the default behavior of a key press.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1RichTextBox Class
C1RichTextBox Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback