Text Box
Last updated
Last updated
⚙️ Powered by Rock RMS
Inherits from Xamarin.Forms.Entry
Come on. Do we really need to explain what a text box is for? But seriously, as the name implies this view provides a place for the user to enter text on a page.
Property | Type | Description |
Label | string | The label title to be used when wrapped in a control that displays a label for the field. |
IsRequired | bool | If True, any validation performed will require that some text be entered. |
MaxLength | int | The maximum allowed length of the entered text, set to 0 for no limit. |
ValidationExpression | string | A regular expression that will be used to validate the input. |
ValidationExpressionMessage | string | The error message to display when input fails the ValidationExpression. |
Text | string | The content to be displayed inside the text box. |
When a TextBox has IsEnabled
set to False
, the text color will be black or white depending on the iOS theme. This may be present in Workflow Entry forms, Prayer Request Details, and other blocks that use this TextBox to display an entry form. Use the Visual State Manager to override this to your desired color. You can add this to your page or even a Layout to affect all of its child pages.