artistszoqa.blogg.se

Microsoft visual studio 2017 add items to a groupbox
Microsoft visual studio 2017 add items to a groupbox







microsoft visual studio 2017 add items to a groupbox microsoft visual studio 2017 add items to a groupbox

I've hidden the panel border property as this does not get used. I decided on a different approach, and used a panel, a label and used graphics to do the border, and then added additional properties to alter the look of the box as needed. There are many other blogs out there that also describe how to customize a groupbox - often by inheriting and then overriding / adjusting the groupbox code. A groupbox is a container for grouping together other controls (buttons, textboxes etc) and the Visual Studio supplied groupbox doesn't have the features I was wanting - border color / width, rounded border corners, moving the header label, so I decided to make my own. This is a short series on designing a custom groupbox using a panel as the base.









Microsoft visual studio 2017 add items to a groupbox