C# Wpf DatePicker Custom Style Error
Hello, I am trying to create a custom DatePicker. I have managed to redesign most parts, but I am having trouble adjusting the border that is added to the DatePickerTextBox.
6 Replies
I want to change the white part inside.
$paste
If your code is too long, you can post to https://paste.mod.gg/, save, and copy the link into chat for others to see your shared code!
^ I'd upload your code to this, most people don't want to download files
BlazeBin - xymdfjhxzolv
A tool for sharing your source code with the world!
https://stackoverflow.com/questions/42013899/change-the-focused-border-color-of-a-wpf-textbox-when-it-gotfocus
might be relevant as it shows how to override the focus border, which is what I think you're trying to do
Stack Overflow
Change the focused border color of a Wpf textbox when it GotFocus()
What I want: to change the border color to yellow when any textbox has focus.
What I tried:
<Window.Resources>
<Style TargetType="TextBox">
<Style.Triggers>
...