Skip to main content
A newer version of this page is available. .

GroupControl Class

The panel with a title which can be aligned along the top, bottom, left or right edge.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v18.1.dll

Declaration

[SmartTagAction(typeof(GroupControlActions), "AddCustomHeaderButtons", "Add Custom Header Buttons", SmartTagActionType.CloseAfterExecute)]
[ToolboxBitmap(typeof(ToolboxIconsRootNS), "GroupControl")]
[SmartTagAction(typeof(GroupControlActions), "CaptionImage", "Edit Caption Image", SmartTagActionType.CloseAfterExecute)]
[SmartTagAction(typeof(GroupControlActions), "CaptionImageUri", "Edit Caption ImageUri", SmartTagActionType.CloseAfterExecute)]
[ToolboxTabName("DX.18.1: Navigation & Layout")]
public class GroupControl :
    PanelControl,
    IGroupBoxButtonsPanelOwner,
    IButtonsPanelOwner,
    IButtonPanelControlAppearanceOwner,
    IAppearanceOwner,
    IToolTipControlClient,
    IGroupStyleProvider

Remarks

The GroupControl is a container control that can be used to define groups of controls. It displays a frame around controls and allows you to display text and image within the header region.

GroupControl2

The control’s main features include:

The GroupControl supports both the look and feel and appearances technologies. The XtraScrollableControl.LookAndFeel and PanelControl.Appearance inherited properties allow the control’s look and feel and appearance settings to be accessed, respectively.

The GroupControl.AppearanceCaption property provides the appearance settings used to paint the GroupControl’s caption. The GroupControl also allows its caption to be painted manually. For this purpose, handle the GroupControl.CustomDrawCaption event.

The following code snippets (auto-collected from DevExpress Examples) contain references to the GroupControl class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also