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

前端 未结 4 580
面向向阳花
面向向阳花 2020-12-31 10:26

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 on

4条回答
  •  无人及你
    2020-12-31 10:59

    I suggest you take a look at Typography property of the TextBox. Even though I could not immediately find anything about tab size in there, this is the property that affects the way the text is rendered by the TextBox so it might as well be the thing you're looking for.

提交回复
热议问题