DynamicItem

References
[TypeConverter(DynamicItemConverter)] public abstract class DynamicItem
Base item for the DynamicLayout

Properties

XScale

#
public bool? XScale { get; set; }
Gets or sets the horizontal scale of the item
Remarks: When true, the control takes up all remaining horizontal space available. If there is more than one item with this set to true, then they share the remaining space equally.
The horizontal scale.

YScale

#
public bool? YScale { get; set; }
Gets or sets the vertical scale of the item
Remarks: When true, the control takes up all remaining vertical space available. If there is more than one item with this set to true, then they share the remaining space equally.
The vertical scale.

Methods

Create

#
public abstract Control Create(DynamicLayout layout)
Creates the content for this item

Create

#
public virtual void Create(DynamicLayout layout, TableLayout parent, int x, int y)
Create the item and add to the specified layout and co-ordinates
layout (DynamicLayout)Top level layout
parent (TableLayout)Parent table to add this item to
x (int)The x coordinate in the table to add to
y (int)The y coordinate in the table to add to

Convertors

OperationResultDescription
implicitControlDynamicItemConverts a control to a DynamicItem implicitly
implicitstringDynamicItemConverts a string to a DynamicItem with a Label implicitly