[TypeConverter(DynamicRowConverter)] public class DynamicRow : Collection<DynamicItem>
Represents a row for a DynamicTable

Constructors

DynamicRow

#
public DynamicRow(IEnumerable<Control> controls, bool? xscale = null, bool? yscale = null)
Initializes a new instance of the DynamicRow class.
controls (IEnumerable<Control>)Items to initialize the row
xscale (bool? = null)Xscale.
yscale (bool? = null)Yscale.

DynamicRow

#
public DynamicRow(IEnumerable<DynamicItem> items)
Initializes a new instance of the DynamicRow class.

DynamicRow

#
public DynamicRow(params DynamicItem[] items)
Initializes a new instance of the DynamicRow class.

Properties

Items

#
public Collection<DynamicItem> Items { get; }
obsolete: The DynamicRow is now its own collection, so add directly
Gets or sets the items on this row.

Methods

Add

#
public void Add(IEnumerable<Control> controls, bool? xscale = null, bool? yscale = null)
Add the controls to the row, with specified xscale and yscale.
controls (IEnumerable<Control>)Controls to add
xscale (bool? = null)Horizontal scale for each control
yscale (bool? = null)Vertical scale for each control

Add

#
public void Add(params Control[] controls)
Add the specified controls to the row

Add

#
public void Add(params DynamicItem[] items)
Add the specified items to the row

ClearItems

#
protected override void ClearItems()
Handles when the collection is cleared.

InsertItem

#
protected override void InsertItem(int index, DynamicItem item)
Handles when an item is inserted into the collection

RemoveItem

#
protected override void RemoveItem(int index)
Handles when an item is removed from the collection

SetItem

#
protected override void SetItem(int index, DynamicItem item)
Handles when an item is changed
index (int)Index of the item to change.
item (DynamicItem)Item to change the item at the specified index to.

Convertors

OperationResultDescription
implicitControlDynamicRowImplicitly converts a control to a row to easily define layouts