When empty, TextBox's caret is always positioned on the left
Posted: 23 Jun 2017, 10:41
Create a text box and set its TextAlignment property to "Center" (or "Right") as follows
Then run it.
-> The caret is position on the left when the TextBox is empty. It should be positioned on Center following the TextAlignment property.
Code: Select all
<TextBox TextAlignment="Center"></TextBox>
-> The caret is position on the left when the TextBox is empty. It should be positioned on Center following the TextAlignment property.