ListBox BorderBrush and BorderThickness change does not affect the display of ListBox
Open
Nobody has claimed this yet.
bug
- Dominant language
- C#
- Stars
- 9.6k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Changing BorderBrush and BorderThickness properties does not affect the ListBox display
To Reproduce
- Change BorderBrush and/or BorderThickness properties
- Look at preview or build app
- See no change (borders are transparent)
Expected behavior
Borders are visible if BorderBrush and/or BorderThickness properties are changed
Screenshots

OS version
Edition Windows 11 Pro
Version 22H2
OS build 22621.1194
.NET version
.NET 7
WPF-UI NuGet version
NuGet
6.6.0.20
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or entry point is named in the issue. First reproduce the problem with a WPF UI ListBox on Windows 11 using .NET 7 and changed BorderBrush and BorderThickness values; investigate the control's rendering or template path. Done means the configured borders are visible in both preview and the built application.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100