Nasıl yapılır: Sekme Karakterlerini TextBox Denetimi İçinde Etkinleştirme

Bu örnek, bir denetimde normal giriş olarak sekme karakterlerinin kabul edilmesini nasıl etkinleştireceğinizi gösterir TextBox .

Örnek

Sekme karakterlerinin bir denetimde girdi olarak kabul edilmesini sağlamak için TextBox , AcceptsTab özniteliğini TextBoxolarak ayarlayın.

<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>

Ayrıca bkz.