Style Header using GroupBox in C#.NET
The KetticGroupBox WinForms control is a group box component for .NET applications. This GroupBox control is used to hold a single radio buttons group and contains advanced styling options for the users to customize the style of their applications. To use the GroupBox control, we shall include the Kettic.WinForms.UI namespace in our .NET projects. The following tutorial is going to demonstrate the approaches of customizing the header style in C#.NET.
Set Header Position in Group Box
To set the header position in Group Box in C#.NET projects, we shall use the property, HeaderPosition. The header can be positioned to Top, Right, Bottom, and Left in group box Set Header Alignment in Group Box
The users are allowed to set the header alignment in Group Box in C#.NET projects. And this is accomplished by using the HeaderAlignment and the users are able to align the header of Group Box to Near, Center, and Far. The HeaderAlignment property is not valid when the GroupBoxStyle is set to Office style. Customize Style of Group Box Control
To change the style of the KetticGroupBox control, we need to use GroupBoxStyle property, which are defined in the KetticGroupBoxStyle enumeration. The KetticGroupBox control offers two styling options available, Standard and Office. Modify Footer Visibility in Group Box
The KetticGroupBox control allows the users of the control to customize the footer visibility. And this is accomplished by using the FooerVisibility property, whose valid values are Visible, Collapsed, and Hidden. The default setting of the FooerVisibility property is Collapsed. Customize Images in Header and Footer
The KetticGroupBox control allows the users of the control to customize the images in the Header and Footer. This is accomplished by using one of the properties, HeaderImageAndTextRelation, HeaderImageAlignment, and HeaderTextAlignment. These properties are able to set the text and image relations. | ![]() UI Controlsfor Windows Forms .NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI DesignWinForms UI Controls WinForms Buttons UI Control WinForms Calendar UI ControlWinForms Carousel UI ControlWinForms Chart UI ControlWinForms Clock UI ControlCommandBar UI ControlWinForms Dock UI ControlDesktop Alert UI ControlDropDown List UI ControlWinForms Editor UI ControlForms and Dialogs UI ControlWinForms GridView UI ControlWinForms ListView UI ControlWinForms Menu UI ControlWinForms ComboBox UI ControlWinForms PageView UI ControlPanels and Labels UI ControlGroupboxHeader StylingThemeLabelC# programmingText FormattingPanelRounded CornersGradient BackgroundSeparatorScrollable PanelWinForms Panorama UI ControlWinForms PDFViewer UI ControlWinForms Property Grid UI ControlWinForms Ribbon UI ControlWinForms PivotGrid UI ControlWinForms RichTextBox UI ControlWinForms Rotator UI ControlWinForms Scheduler UI ControlWinForms Shortcuts UI ControlWinForms SpellChecker UI ControlWinForms Track & Status UI ControlWinForms TreeView UI ControlWinForms Wizard UI ControlWinForms Test UI ControlWinForms Theme UI Control |