I want to set an image as border when a text box has got focus. I know how to set the border color when the text box gets focus as follows
<Style TargetType="{x:Type TextBox}">
<Style.Triggers>
<Trigger Property="IsFocused" Value="True">
<Setter Property="BorderThickness" Value="2.20" />
<Setter Property="BorderBrush" Value="#f8cb1c" />
</Trigger>
</Style.Triggers>
</Style>
but how can I set an image for border or around a textbox.
1 Answer