Свойство | Тип | Описание | |
---|---|---|---|
Create | void | ||
InnerAdd | void | ||
InternalRemoveLogicalParent | void | ||
InternalSetLogicalParent | void | ||
OnDeserialized | void | ||
OnDeserialized | void | ||
SetCellSize | void |
Метод | Описание | |
---|---|---|
Add ( |
Adds a control to the specified location. If a control already exists in the location, it is replaced. Only one control can exist in a cell. |
|
Add ( |
Adds a control to the specified x & y coordinates. If a control already exists in the location, it is replaced. Only one control can exist in a cell. |
|
Add ( |
Adds a control to the specified x & y coordinates. If a control already exists in the location, it is replaced. Only one control can exist in a cell. The xscale and yscale parameters are to easily set the scaling for the current row/column while adding the control. |
|
AutoSized ( |
Creates a table layout with an auto sized control. Since controls fill an entire cell, you can use this method to create a layout that will ensure that the specified control gets its preferred size instead of stretching to fill the container. By default, extra space will be added to the right and bottom, unless centered is |
|
EndInit ( ) : void |
Ends the initialization when loading from xaml or other code generated scenarios
|
|
GetColumnScale ( int column ) : bool |
Gets the scale for the specified column.
|
|
GetRowScale ( int row ) : bool |
Gets the scale for the specified row.
|
|
Horizontal ( ) : |
Creates a horizontal table layout with the specified cells. Since table layouts are by default vertical by defining the rows and the cells for each row, it is verbose to create nested tables when you want a horizontal table. E.g. |
|
Horizontal ( int spacing ) : |
Creates a horizontal table layout with the specified cells. Since table layouts are by default vertical by defining the rows and the cells for each row, it is verbose to create nested tables when you want a horizontal table. E.g. |
|
HorizontalScaled ( ) : |
Creates a horizontal table layout with the specified cells scaled equally. Since table layouts are by default vertical by defining the rows and the cells for each row, it is verbose to create nested tables when you want a horizontal table. E.g. |
|
HorizontalScaled ( int spacing ) : |
Creates a horizontal table layout with the specified cells scaled equally. Since table layouts are by default vertical by defining the rows and the cells for each row, it is verbose to create nested tables when you want a horizontal table. E.g. |
|
Move ( |
Move the specified control to a new location. If a control already exists in the new location, it will be replaced. Only one control can exist in a cell. The old location of the control will have an empty space. |
|
Move ( |
Moves the specified control to the new x and y coordinates. If a control already exists in the new location, it will be replaced. Only one control can exist in a cell. The old location of the control will have an empty space. |
|
Remove ( |
Remove the specified child control.
|
|
SetColumnScale ( int column, bool scale = true ) : void |
Sets the scale for the specified column.
|
|
SetRowScale ( int row, bool scale = true ) : void |
Sets the scale for the specified row.
|
|
TableLayout ( ) : System |
Initializes a new instance of the Eto.Forms.TableLayout class.
|
|
TableLayout ( IEnumerable |
Initializes a new instance of the Eto.Forms.TableLayout class with the specified rows.
|
|
TableLayout ( Eto.Drawing.Size dimensions ) : System |
Initializes a new instance of the Eto.Forms.TableLayout class with the specified dimensions.
|
|
TableLayout ( bool yscale ) : System |
Initializes a new instance of the Eto.Forms.TableLayout class with the specified rows.
|
|
TableLayout ( int columns, int rows ) : System |
Initializes a new instance of the Eto.Forms.TableLayout class with the specified number of columns and rows.
|
Метод | Описание | |
---|---|---|
OnLoad ( |
Raises the Control.Load event, and recursed to this container's children
|
|
OnPreLoad ( |
Raises the Control.PreLoad event, and recurses to this container's children
|
Метод | Описание | |
---|---|---|
Create ( ) : void | ||
InnerAdd ( |
||
InternalRemoveLogicalParent ( |
||
InternalSetLogicalParent ( |
||
OnDeserialized ( |
||
OnDeserialized ( bool direct ) : void | ||
SetCellSize ( Eto.Drawing.Size value, bool createRows ) : void |
public Add ( |
||
control | Control to add. | |
location | Point | The location of the control. |
Результат | void |
public Add ( |
||
control | Control to add. | |
x | int | The x coordinate. |
y | int | The y coordinate. |
Результат | void |
public Add ( |
||
control | Control to add. | |
x | int | The x coordinate. |
y | int | The y coordinate. |
xscale | bool | If set to |
yscale | bool | If set to |
Результат | void |
public static AutoSized ( |
||
control | Control to auto size. | |
padding | Padding | Padding around the control |
centered | bool | If set to |
Результат |
public GetColumnScale ( int column ) : bool | ||
column | int | Column to retrieve the scale. |
Результат | bool |
public GetRowScale ( int row ) : bool | ||
row | int | Row to retrieve the scale. |
Результат | bool |
public static Horizontal ( ) : |
||
Результат |
public static Horizontal ( int spacing ) : |
||
spacing | int | Spacing between cells |
Результат |
public static HorizontalScaled ( ) : |
||
Результат |
public static HorizontalScaled ( int spacing ) : |
||
spacing | int | Spacing between cells |
Результат |
public Move ( |
||
control | Control to move. | |
location | Point | New location of the control. |
Результат | void |
public Move ( |
||
control | Control to move. | |
x | int | The new x coordinate. |
y | int | The new y coordinate. |
Результат | void |
protected OnLoad ( |
||
e | Event arguments | |
Результат | void |
protected OnPreLoad ( |
||
e | Event arguments | |
Результат | void |
public Remove ( |
||
child | Child control to remove. | |
Результат | void |
public SetColumnScale ( int column, bool scale = true ) : void | ||
column | int | Column to set the scale for. |
scale | bool | If set to |
Результат | void |
public SetRowScale ( int row, bool scale = true ) : void | ||
row | int | Row to set the scale for. |
scale | bool | If set to |
Результат | void |
public TableLayout ( IEnumerable |
||
rows | IEnumerable |
Rows to populate the table. |
Результат | System |
public TableLayout ( Eto.Drawing.Size dimensions ) : System | ||
dimensions | Eto.Drawing.Size | Dimensions of the table. |
Результат | System |
public TableLayout ( bool yscale ) : System | ||
yscale | bool | Scale all rows |
Результат | System |
public TableLayout ( int columns, int rows ) : System | ||
columns | int | Number of columns in the table. |
rows | int | Number of rows in the table. |
Результат | System |