Any Control placed in GroupBox's Header will be not complete accessable (click, hover, etc) - by Hugo Gu

Status : 


Sign in
to vote
ID 539427 Comments
Status Active Workarounds
Type Bug Repros 14
Opened 3/5/2010 1:13:11 AM
Access Restriction Public


Name Explain:
border: Refer to the border of the GroupBox. When it pass the header part of the GroupBox, it becomes invisible.

Bug Description:
When you placed a control, such as RadioButton, into the GroupBox's Header.

The control will be not accessible when mouse's position is on the invisible part of the border.

Bug Reason:
In GroupBox's Style, the Border was placed on the top the header. So it block some event from the control in the header
While the Border should be placed at the bottom.
Sign in to post a comment.
Posted by Taz0 on 10/3/2012 at 1:58 PM
It appears this has been fixed in .NET 4.5. If you install the .NET 4.5 runtime, it will also take effect on existing .NET 4.0 apps. Beware thought that any workaround employed may cause a problem once .NET 4.5 is installed. This issue can be closed.
Posted by Hugo Gu on 10/28/2010 at 10:12 PM
I saw a solution available. But I cannot take it as a solution. Just a workaround.

The problem is, which template to edit? Aero? Luna? Wherever we need to edit the tempalte, we need to edit all the template for all the themes and colors.

As a workaround, I personally will prefer to use the VisualTreeHelper to find the border and modify that property after the control loaded.

Changing control template is not acceptable when you just want to use the default style.
Posted by T. Ray Humphrey on 8/13/2010 at 1:59 AM
I have experienced the same problem. I was trying to place two RadioButtons in a GroupBox Header. If one of the RadioButtons was selected, the GroupBox contents was enabled.

I could only select a RadioButton if I clicked on the edge of the circle or on the stroke of the associated label. Clicking on the center of the circle didn't work.
Posted by Hugo Gu on 6/11/2010 at 9:05 AM
Put a radio button or check box into the GroupBox is a common usage pattern. With this bug exists, wpf developers have to rewrite the control template whenever they want to use this pattern.

I know it is a trival bug, but this bug is really very easy to fix with out any side effect. So would you please give it a higher priorty.

It will be easier to use GroupBox with this bug (and another bug about GroupBox header) fixed.
Posted by Microsoft on 3/7/2010 at 7:47 PM
Thank you for reporting the issue.
We were able to reproduce the issue with the detail steps you provided.We are routing this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 3/5/2010 at 7:02 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(