RichTextBox for UWP/WinRT
KeyDown イベント (C1RichTextBox)

C1RichTextBox にフォーカスがあるときにキーボードのキーが押されると発生します。
構文
'宣言
 
Public Shadows Event KeyDown As Windows.UI.Xaml.Input.KeyEventHandler
public new event Windows.UI.Xaml.Input.KeyEventHandler KeyDown
イベント データ

イベント ハンドラが、このイベントに関連するデータを含む、Windows.UI.Xaml.Input.KeyRoutedEventArgs 型の引数を受け取りました。次の KeyRoutedEventArgs プロパティには、このイベントの固有の情報が記載されます。

プロパティ解説
Handled  
Key  
KeyStatus  
OriginalSource Windows.UI.Xaml.RoutedEventArgsから継承されます。
解説
このイベントは、ハンドラがキー押下のデフォルトの動作を回避できるようにするために、Windows.UI.Xaml.UIElement の KeyDown をオーバーライドします。
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

参照

関連項目

C1RichTextBox クラス
C1RichTextBox メンバ

Send Feedback