RadGroupBoxElement
Represents the main visual element of a group box control that provides header, content area, and optional footer sections. Inherits from LightVisualElement and manages the layout and appearance of group box components.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadGroupBoxElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadGroupBoxElement...
Implements:
Inherited Members
Constructors
public RadGroupBoxElement()
Fields
Identifies the HeaderAlignment dependency property that determines how the header is aligned within its container.
public static RadProperty HeaderAlignmentProperty
Identifies the InvalidateMeasureInMainLayout dependency property used for layout invalidation control.
[Browsable(false)]
public static RadProperty InvalidateMeasureInMainLayoutProperty
Properties
Gets the GroupBoxContent element that provides the main content area for child controls.
public GroupBoxContent Content { get; }
Gets the GroupBoxFooter element that provides the footer functionality and appearance.
public GroupBoxFooter Footer { get; }
Gets or sets the image displayed in the footer area of the group box.
public Image FooterImage { get; set; }
Gets or sets the alignment of the footer image within the footer area.
public ContentAlignment FooterImageAlignment { get; set; }
Gets or sets the index used to retrieve the footer image from an associated image list.
public int FooterImageIndex { get; set; }
Gets or sets the key used to retrieve the footer image from an associated image list.
public string FooterImageKey { get; set; }
Gets or sets the text content displayed in the footer area of the group box.
public string FooterText { get; set; }
Gets or sets the alignment of the footer text within the footer area.
public ContentAlignment FooterTextAlignment { get; set; }
Gets or sets the spatial relationship between the footer text and footer image.
public TextImageRelation FooterTextImageRelation { get; set; }
Gets or sets the visibility state of the footer element in the group box.
public ElementVisibility FooterVisibile { get; set; }
Gets or sets the visual style of the group box that determines its overall appearance theme.
public RadGroupBoxStyle GroupBoxStyle { get; set; }
Gets the GroupBoxHeader element that provides the header functionality and appearance.
public GroupBoxHeader Header { get; }
Gets or sets the alignment of the header within its designated position area.
public HeaderAlignment HeaderAlignment { get; set; }
Gets or sets the image displayed in the header area of the group box.
public Image HeaderImage { get; set; }
Gets or sets the alignment of the header image within the header area.
public ContentAlignment HeaderImageAlignment { get; set; }
Gets or sets the index used to retrieve the header image from an associated image list.
public int HeaderImageIndex { get; set; }
Gets or sets the key used to retrieve the header image from an associated image list.
public string HeaderImageKey { get; set; }
Gets or sets the margin around the header area that controls spacing from surrounding elements.
public Padding HeaderMargin { get; set; }
Gets or sets the position of the header relative to the group box content area.
public HeaderPosition HeaderPosition { get; set; }
Gets or sets the text content displayed in the header area of the group box.
public string HeaderText { get; set; }
Gets or sets the alignment of the header text within the header area.
public ContentAlignment HeaderTextAlignment { get; set; }
Gets or sets the spatial relationship between the header text and header image.
public TextImageRelation HeaderTextImageRelation { get; set; }
Gets or sets a value used internally for layout invalidation control in the main layout process.
[Browsable(false)]
public int InvalidateMeasureInMainLayout { get; set; }
Methods
Arranges the child elements (header, content, and footer) according to the layout style and available space. Handles positioning based on header position, alignment, and group box style.
Creates the child elements including header, content, and footer components for the group box.
protected override void CreateChildElements()
Overrides:
Initializes the fields and sets default values for the RadGroupBoxElement.
protected override void InitializeFields()
Overrides:
Measures the size required by the element and its children based on available space. Calculates the combined size needed for header, content, and footer elements.