Textblock is overlapping with combobox items (WPF)
I am trying to make it so the combobox has some static text and will never show selected items. I thought I could have a TextBlock on top of it, but for some reason items from the combobox seem to randomly appear underneath it. I can't reproduce it every time.
Here's the relevant xaml:
Here's what it looks like sometimes:
![No description](https://cdn.answeroverflow.com/1239544826467323904/image.png)
1 Reply
The only thing I ever want visible on the non-pop up part of the combobox is "Show/Hide Columns".
Update: It happens when clicking on the blankspace to the right of any checkbox's text.
Figured it out. A combobox's items are not set to stretch horizontally by default. Setting the items' HorizontalContentAlignment to Stretch fixes it