The
Group object holds a collection of Item objects. The
Item
property accesses a group object. The Group object supports the following
properties and methods:
| |  | Name | Description | |
| | | AddItem | Adds a new item to the group object. | |
| | | Alignment | Retrieves or sets a value that indicates the caption's alignment. | |
| | | AllowExpand | Specifies whether the group can be expanded or collapsed. | |
| | | AllowScroll | Enables or disables scrolling the group when it is expanded or collapsed. | |
| | | BackColor | Retrieves or sets the group's background color. | |
| | | BackColor2 | Specifies the color at the ending boundary line of the gradient group's caption. | |
| | | BackColorList | Retrieves or sets a value that indicates the background color of the list when the group is active. | |
| | | Bold | Specifies a value that indicates whether the group's caption should appear in bold. | |
| | | Caption | Specifies the group's caption. | |
| | | CaptionFormat | Specifies how the group's caption is displayed. | |
| | | Clear | Clears the items collection. | |
| | | Count | Gets the count of the items. | |
| | | Expanded | Expands or collapses the group. | |
| | | ForeColor | Specifies the group's foreground color. | |
| | | ForeColorList | Retrieves or sets a value that indicates the foreground color of the group's list when it is active. | |
| | | Height | Retrieves the height in pixels of the group's list. | |
| | | Image | Specifies the index of the group's icon. | |
| | | ImageAlignment | Specifies the icon's alignment. | |
| | | Index | Retrieves the index of the object into the Groups collection.. | |
| | | Italic | Specifies a value that indicates whether the group's caption should appear in italic. | |
| | | Item | Returns a specific Item from the collection. | |
| | | ItemByPos | Gets the item given its position. | |
| | | ItemHeight | Retrieves or sets the item's height. | |
| | | Left | Specifies the distance between the left edge of the control and group's list. | |
| | | Picture | Retrieves or sets a graphic to be displayed in the group's list. | |
| | | PictureDisplay | Retrieves or sets a value that indicates the way how the graphic is displayed on the list's background | |
| | | Position | Specifies the group's position. | |
| | | RemoveItem | Removes an item given its index or given its caption. | |
| | | Shortcut | Specifies the name of the shortcut which displays the group. | |
| | | StrikeOut | Specifies a value that indicates whether the group's caption should appear in strikeout. | |
| | | ToolTip | Specifies the group's tooltip. | |
| | | Top | Specifies the distance between the top edge of the control and group's list. | |
| | | Underline | Specifies a value that indicates whether the group's caption is underlined. | |
| | | UserData | Specifies an extra data. | |
| | | Width | Retrieves the width in pixels of the group's list. | |