[]
Draws a text input field on the canvas.
public void DrawTextInputField(RectangleF bounds, string fieldName, bool readOnly, bool required, InputBorderStyle borderStyle, float borderWidth, Color borderColor, int maxLength, bool multiline, bool password, bool spellCheck, InputTextAlign alignment, string[] textArray)
Type | Name | Description |
---|---|---|
RectangleF | bounds | The bounding rectangle of the input field. |
string | fieldName | The name of the input field. |
bool | readOnly | Indicates whether the field is read-only. |
bool | required | Indicates whether the field is required. |
InputBorderStyle | borderStyle | The style of the input field border. |
float | borderWidth | The width of the input field border. |
Color | borderColor | The color of the input field border. |
int | maxLength | The maximum number of characters allowed in the input field. |
bool | multiline | Indicates whether the input field supports multiple lines. |
bool | password | Indicates whether the input field is for password entry. |
bool | spellCheck | Indicates whether spell check is enabled. |
InputTextAlign | alignment | The text alignment within the input field. |
string[] | textArray | The array of text lines to be displayed in the input field. |
Draws a text input field on the canvas with a specified tab index.
public void DrawTextInputField(RectangleF bounds, string fieldName, bool readOnly, bool required, InputBorderStyle borderStyle, float borderWidth, Color borderColor, int maxLength, bool multiline, bool password, bool spellCheck, InputTextAlign alignment, string[] textArray, int tabIndex)
Type | Name | Description |
---|---|---|
RectangleF | bounds | The bounding rectangle of the input field. |
string | fieldName | The name of the input field. |
bool | readOnly | Indicates whether the field is read-only. |
bool | required | Indicates whether the field is required. |
InputBorderStyle | borderStyle | The style of the input field border. |
float | borderWidth | The width of the input field border. |
Color | borderColor | The color of the input field border. |
int | maxLength | The maximum number of characters allowed in the input field. |
bool | multiline | Indicates whether the input field supports multiple lines. |
bool | password | Indicates whether the input field is for password entry. |
bool | spellCheck | Indicates whether spell check is enabled. |
InputTextAlign | alignment | The text alignment within the input field. |
string[] | textArray | The array of text lines to be displayed in the input field. |
int | tabIndex | The tab index of the input field. |