Click or drag to resize

StackLayoutItem  Conversion (String to StackLayoutItem)

Converts a string to a StackLayoutItem with a label control implicitly.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static implicit operator StackLayoutItem (
	string labelText
)

Parameters

labelText
Type: SystemString
Text to convert to a Label control.

Return Value

Type: StackLayoutItem

[Missing <returns> documentation for "M:Eto.Forms.StackLayoutItem.op_Implicit(System.String)~Eto.Forms.StackLayoutItem"]

Remarks
This provides an easy way to add labels to your layout through code, without having to create Label instances.
See Also