# AlignmentPicker
Class Inherits GraffitiProEditor.GridPicker
## About
Internal `GridPicker` behind the toolbar's alignment button: one diagram per alignment in `Values`, with `Names` for the caption and `CurrentIndex` outlined. Hovering a diagram previews it.
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| CaptionText | (None) | String | Returns the hovered alignment's name, or Title. |
| CellValue | row As Integer <br> column As Integer | Variant | Returns the alignment as an Integer, the value the toolbar expects. |
| Constructor | (None) | (None) | Creates one row of alignment diagrams that previews the hovered alignment. |
| DrawCell | g As Graphics <br> row As Integer <br> column As Integer <br> frame As Rect | (None) | Draws a diagram of the alignment. |
| Opening | (None) | (None) | Sizes the row to Values. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| CurrentIndex | Integer | -1 | Gets or sets the column of the current alignment. |
| Names() | String | (None) | Gets or sets the name of each alignment. |
| Title | String | (None) | Gets or sets the caption shown before a diagram is hovered. |
| Values() | GraffitiProEditor.Alignments | (None) | Gets or sets the alignments offered. |