TextField Constructor

Declaration

public TextField();

Description

Creates a new textfield.


Declaration

public TextField(int maxLength, bool multiline, bool isPasswordField, char maskChar);

Parameters

maxLength The maximum number of characters this textfield can hold. If -1, there is no limit.
multiline Set this to true to allow multiple lines in the textfield and false if otherwise.
isPasswordField Set this to true to mask the characters and false if otherwise.
maskChar The character used for masking in a password field.

Description

Creates a new textfield.


Declaration

public TextField(string label);

Description

Creates a new textfield.


Declaration

public TextField(string label, int maxLength, bool multiline, bool isPasswordField, char maskChar);

Parameters

maxLength The maximum number of characters this textfield can hold. If -1, there is no limit.
multiline Set this to true to allow multiple lines in the textfield and false if otherwise.
isPassword Set this to true to mask the characters and false if otherwise.
maskChar The character used for masking in a password field.

Description

Creates a new textfield.


Did you find this page useful? Please give it a rating: