Tab Spacing in TextBox when using Tab Key


  • Is there a way to set the default tab size for the TextBox - when AcceptsTab="True"?

    The default appears to be 7, or maybe 8 spaces and I'd like to set this to 4.

    Previously in Windows Forms you needed to use a User32.dll import to send a message to the control  changing the tab spacing.

    How can this be done in WPF?

    Thanks in advance...
    Wednesday, June 24, 2009 10:26 PM


All replies