# DynamicTable class

Namespace: [Eto.Forms](https://eto.picoe.ca/api/namespace/eto.forms.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
[ContentProperty("Rows")]
public class DynamicTable : DynamicItem
```

Table item for the [DynamicLayout](https://eto.picoe.ca/api/type/eto.forms.dynamiclayout.md)

**Remarks:** This represents a table, which in a dynamic layout is used to represent a vertical section. The maximum number of items in the [DynamicTable.Rows](https://eto.picoe.ca/api/type/eto.forms.dynamictable/rows.md) determines the columns of the table.

**Derived types:** [DynamicGroup](https://eto.picoe.ca/api/type/eto.forms.dynamicgroup.md), [DynamicScrollable](https://eto.picoe.ca/api/type/eto.forms.dynamicscrollable.md)

## Constructors

- [DynamicTable](https://eto.picoe.ca/api/type/eto.forms.dynamictable/ctor.md): (3 overloads) Initializes a new instance of the [DynamicTable](https://eto.picoe.ca/api/type/eto.forms.dynamictable.md) class.

## Properties

- [Padding](https://eto.picoe.ca/api/type/eto.forms.dynamictable/padding.md): Gets or sets the padding around the table cells
- [Parent](https://eto.picoe.ca/api/type/eto.forms.dynamictable/parent.md): Gets or sets the parent table
- [Rows](https://eto.picoe.ca/api/type/eto.forms.dynamictable/rows.md): Gets or sets the collection of rows in the table
- [Spacing](https://eto.picoe.ca/api/type/eto.forms.dynamictable/spacing.md): Gets or sets the spacing between the table cells
- [Table](https://eto.picoe.ca/api/type/eto.forms.dynamictable/table.md): Gets the table layout this item represents
- [Visible](https://eto.picoe.ca/api/type/eto.forms.dynamictable/visible.md): Gets or sets a value indicating whether this [DynamicTable](https://eto.picoe.ca/api/type/eto.forms.dynamictable.md) is visible.

## Methods

- [Add](https://eto.picoe.ca/api/type/eto.forms.dynamictable/add.md): Add the specified item to the current row
- [AddRow](https://eto.picoe.ca/api/type/eto.forms.dynamictable/addrow.md): (2 overloads) Adds the specified item to a new row
- [Create](https://eto.picoe.ca/api/type/eto.forms.dynamictable/create.md): Creates the content for this item

## Inherited Members

- From [DynamicItem](https://eto.picoe.ca/api/type/eto.forms.dynamicitem.md): [XScale](https://eto.picoe.ca/api/type/eto.forms.dynamicitem/xscale.md), [YScale](https://eto.picoe.ca/api/type/eto.forms.dynamicitem/yscale.md), [Create](https://eto.picoe.ca/api/type/eto.forms.dynamicitem/create.md)
