For the complete documentation index, see llms.txt. This page is also available as Markdown.

Auto select

One of the default annoying behavior of the WPF TextBox is that when it gets focused if there is some text it is not automatically selected, we can use the TextBoxManager AutoSelectText attached property:

<TextBox Text="bla bla..." behaviors:TextBoxManager.AutoSelectText="True" />

the attached property is defined in the http://schemas.radicalframework.com/windows/behaviors xml namespace.

Last updated