Now I'm making a Editor. When Textbox is Focused, blue border line appears
like this (left and right's Blue lines).
But I don't need this Blue (Focus) lines. So, I want to erase these lines. And I don't know how to erase.
Now my xaml code is this.
<TextBox x:Name="textBox"
Background="White"
HorizontalAlignment="Center"
VerticalAlignment="Center"
TextWrapping="Wrap"
Width="360"
Height="200"
Text="TextBox" />
These can be changed by xaml code ?
You seem want to clear that border completely. To do so add BorderThickness="0"
to your XAML:
<TextBox x:Name="textBox"
Background="White"
HorizontalAlignment="Center"
VerticalAlignment="Center"
TextWrapping="Wrap"
Width="360"
Height="200"
BorderThickness="0,0,0,0"
Text="TextBox" />
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.