SelectionBrush property only the border and no fill

0

You can make the property SelectionBrush equal to the image below:

Becausesheisnowlikethis:

Followthecodebelow:

<TextBoxSelectionBrush="Red" FontSize="12pt"/>

I just want the border and no matching fill in the first image, can you do that in WPF?

    
asked by anonymous 05.08.2018 / 17:00

1 answer

-1

You can set the border properties in the textbox itself:

<TextBox x:Name="TbTeste" BorderThickness="2" BorderBrush="Red"/>
    
14.08.2018 / 21:55