Constructor Label
Label()
public Label()
Remarks
Use X, Y, Width, and Height properties to dynamically control the size and location of the view. The View will be created using Computed coordinates. The initial size (Frame) will be adjusted to fit the contents of Text, including newlines ('\n') for multiple lines.
If Height is greater than one, word wrapping is provided.
This constructor initialize a View with a LayoutStyle of Computed. Use X, Y, Width, and Height properties to dynamically control the size and location of the view.
Label(Rect, bool)
public Label(Rect frame, bool autosize = false)
Parameters
Label(ustring, bool)
public Label(ustring text, bool autosize = true)
Parameters
text
ustringautosize
bool
Label(Rect, ustring, bool)
public Label(Rect rect, ustring text, bool autosize = false)
Parameters
Label(int, int, ustring, bool)
public Label(int x, int y, ustring text, bool autosize = true)
Parameters
Label(ustring, TextDirection, bool)
public Label(ustring text, TextDirection direction, bool autosize = true)
Parameters
text
ustringdirection
TextDirectionautosize
bool