Represents a row for a DynamicTable
Constructors
DynamicRow
#Initializes a new instance of the DynamicRow class.
Parameters:
| controls (IEnumerable<Control>) | Items to initialize the row |
| xscale (bool? = null) | Xscale. |
| yscale (bool? = null) | Yscale. |
DynamicRow
#Initializes a new instance of the DynamicRow class.
Parameters:
| items (IEnumerable<DynamicItem>) | Items to initialize the row |
DynamicRow
#Initializes a new instance of the DynamicRow class.
Parameters:
| items (params DynamicItem[]) | Items to initialize the row |
Properties
Methods
Add
#Add the controls to the row, with specified xscale and yscale.
Parameters:
| controls (IEnumerable<Control>) | Controls to add |
| xscale (bool? = null) | Horizontal scale for each control |
| yscale (bool? = null) | Vertical scale for each control |
InsertItem
#Handles when an item is inserted into the collection
Parameters:
| index (int) | Index for the inserted item |
| item (DynamicItem) | Item to insert |
Overrides: Collection<1>.InsertItem
RemoveItem
#Handles when an item is removed from the collection
Parameters:
| index (int) | Index of the item to remove. |
Overrides: Collection<1>.RemoveItem
SetItem
#Handles when an item is changed
Parameters:
| index (int) | Index of the item to change. |
| item (DynamicItem) | Item to change the item at the specified index to. |
Overrides: Collection<1>.SetItem
Convertors
| Operation | Result | Description | ||
|---|---|---|---|---|
| implicit | Control | DynamicRow | Implicitly converts a control to a row to easily define layouts | |