How can I define how many spaces a TAB jumps in a XAML TextBox?

Posted by Edward Tanguay on Stack Overflow See other posts from Stack Overflow or by Edward Tanguay
Published on 2010-02-24T12:15:36Z Indexed on 2010/05/14 2:04 UTC
Read the original article Hit count: 329

Filed under:
|
|
|

When the user presses a tab in this textbox, the cursor jumps an equivalent of 8 spaces.

How can I change it so it jumps only 4 or 2?

<TextBox
    Width="200"
    Height="200"
    Margin="0 0 10 0"
    AcceptsReturn="True"
    AcceptsTab="True"
    Text="{Binding OutlineText}"/>

© Stack Overflow or respective owner

Related posts about xaml

Related posts about wpf