Defines a flexible grid area that consists of columns and rows. Child elements of the Grid are measured and arranged according to their row/column assignments (set by using Grid.Row and Grid.Column attached properties) and other logic.

### Properties

| Property             | Type   | Description                                                                                            |
|----------------------|--------|--------------------------------------------------------------------------------------------------------|
| `Background`         | Color  | The background color of the control.                                                                   |
| `Children`           | Array  | The collection of child elements within the panel.                                                     |
| `ColumnDefinitions`   | Array  | A list of `ColumnDefinition` objects defined on the Grid.                                             |
| `RowDefinitions`      | Array  | A list of `RowDefinition` objects defined on the Grid.                                               |
| `Height`             | Float  | The suggested height of the control in dp pixels.                                                    |
| `HorizontalAlignment` | Enum   | The horizontal alignment characteristics that are applied to the control when it is composed in a parent layout panel, such as a Grid. |
| `Margin`             | Thickness | The outer margin that is applied to the control when it is composed in a parent layout panel, such as a Grid. |
| `Rotation`           | Integer | The rotation about the Z-axis in degrees.                                                              |
| `VerticalAlignment`   | Enum   | The vertical alignment characteristics that are applied to the control when it is composed in a parent layout panel, such as a Grid. |
| `Width`              | Float  | The suggested width of the control in dp pixels.                                                     |
| `IsEnabled`          | Boolean | A value that indicates whether the user can interact with the control.                                |
| `IsHitTestVisible`   | Boolean | A value that indicates whether the contained area of the control can return true values for hit testing. |
| `IsVisible`          | Boolean | A value that indicates whether the control should be visible.                                         |
| `Opacity`            | Float  | A value between 0 and 1.0 that declares the opacity factor, with 1.0 meaning full opacity and 0 meaning transparent. |

### Attached Properties

Grid is the host service class for several attached properties. These attached properties enable child elements to report how they should be positioned in their Grid parent.

| Property               | Type    | Description                                                                                                  |
|------------------------|---------|--------------------------------------------------------------------------------------------------------------|
| `Grid.Column`          | Integer | The column alignment of an element when child layout is processed by a parent Grid layout container.        |
| `Grid.ColumnSpan`      | Integer | A value that indicates the total number of columns that the element content spans within a parent Grid.     |
| `Grid.Row`             | Integer | The row alignment of an element when child layout is processed by a parent Grid layout container.           |
| `Grid.RowSpan`         | Integer | A value that indicates the total number of rows that the element content spans within a parent Grid.       |

### Events

| Event    | Description                                                                                       |
|----------|---------------------------------------------------------------------------------------------------|
| `Loaded` | Occurs when the element is laid out, rendered, and ready for interaction.                        |
| `Unloaded` | Occurs when the element is no longer rendered on the screen.
