Add GroupBox.BorderStyle Property
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 1.1k
- Avg merge
- 1d 13m
- Merged PRs (30d)
- 85
Description
### Background and motivation
It would be very useful to add GroupBox.BorderStyle property that allows to show or hide GroupBox border. There are a lot of discussions on Stackoverflow how to deal with GroupBox border, see the [link](https://stackoverflow.com/questions/15070040/system-windows-forms-groupbox-hide-frame). But currently there is no property to change border appearance.
When a UserControl is developed, a control consumer often needs an option whether to display a control with a border or not, depending on the location (screenshot below).

### API Proposal
```csharp
groupBox.BorderStyle = BorderStyle.None;
```
### API Usage
```csharp
groupBox.BorderStyle = BorderStyle.None;
```
### Alternative Designs
_No response_
### Risks
_No response_
### Will this feature affect UI controls?
VS Designer supports the BorderStyle property as usual.
This feature does not need to be localized.
Contributor guide
Assessment
This issue has not been assessed yet.