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. | |
| | AutoScroll | Specifies whether the scroll buttons are automatically added. | |
| | 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 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. | |
| | EnsureVisibleItem | Ensures that the item fits the group's client area. | |
| | 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. | |
| | Image | Specifies the index of the group's icon. | |
| | IndentHeaderBottom | Specifies the number of pixels to indent the group's header from the bottom part. | |
| | IndentHeaderLeft | Specifies the number of pixels to indent the group's header from the left part. | |
| | IndentHeaderRight | Specifies the number of pixels to indent the group's header from the right part. | |
| | IndentHeaderTop | Specifies the number of pixels to indent the group's header from the top part. | |
| | Index | Retrieves the index of the object into the Groups collection.. | |
| | Italic | Specifies 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. | |
| | ItemWidth | Retrieves or sets the item's width. -1 if it's the group's client width. | |
| | 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. | |
| | SelectItem | Specifies the index of item that's selected. | |
| | Shortcut | Specifies the name of the shortcut which displays the group. | |
| | StrikeOut | Specifies whether the group's caption should appear in strikeout. | |
| | ToolTip | Specifies the group's tooltip. | |
| | Underline | Specifies whether the group's caption appears as underlined. | |
| | UserData | Specifies an extra data. | |