Click or drag to resize

Control  Conversion (String to Control)

Converts a string to a label control implicitly.

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

Parameters

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

Return Value

Type: Control

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

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