# GraffitiGridColumnGroup
Class
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Constructor | Text as String | (None) | Creates a new instance of the class. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Style | GraffitiStyle | (None) | (None) |
| Text | String | (None) | (None) |
## Examples
### Changing Properties At Runtime
```
'// Get the column with the group we wish to modify
var column as GraffitiGridColumn = gwgDemo.Column(0)
'// Get the group to modify
var group as GraffitiGridColumnGroup = column.Group
'// Cache some styles for alternating
static originalStyle as GraffitiStyle = group.Style
static alternateStyle as GraffitiStyle = GraffitiStyle.Create( Session, "alternateGroupStyle", "background: #fff;color: #000" )
'// Determine what text and styles will be set based
' the Group's current property values.
if group.Text = "New Text" then
group.Text = "Different Text"
group.Style = originalStyle
else
group.Text = "New Text"
group.Style = alternateStyle
end if
```