次の方法で共有


方法 : TextBox コントロールでタブ文字を有効にする

TextBox コントロールの通常入力としてタブ文字を受け入れられるようにする方法を次の例に示します。

使用例

TextBox コントロールの入力としてタブ文字を受け入れられるようにするには、AcceptsTab 属性を true に設定します。

<TextBox AcceptsTab="True">
  If the AcceptsTab element is "True", the TextBox control will accept tab characters as regular input when the TAB key is pressed.  
  If AcceptsTab is "False" (the default), pressing TAB moves the focus to the next focusable control. 
</TextBox>

参照

概念

TextBox の概要

RichTextBox の概要