DynamicControl

DynamicItemReferences
[ContentProperty("Control")] public class DynamicControl : DynamicItem
Control item for the DynamicLayout

Properties

Control

#
public Control Control { get; set; }
Gets or sets the control that this item contains

XScale

public bool? XScale { get; set; }
Gets or sets the horizontal scale of the item
inherited fromDynamicItem
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
inherited fromDynamicItem
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 override 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
inherited fromDynamicItem
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