Class TextBoxField
TextBoxField
Implements
Inherited Members
Namespace: BoldSign.Model
Assembly: BoldSign.Api.dll
Syntax
public class TextBoxField : FormField, IFormField
Constructors
| Improve this Doc View SourceTextBoxField()
Initializes a new instance of the TextBoxField class.
Declaration
protected TextBoxField()
TextBoxField(Int32, Rectangle, Boolean, String, FontFamily, Int32, String, Boolean, Boolean, Boolean, Int32, Int32, ValidationType, String, String, String, String, String, Boolean)
Initializes a new instance of the TextBoxField class.
Declaration
public TextBoxField(int pageNumber = null, Rectangle bounds = null, bool isRequired = null, string value = null, FontFamily font = default(FontFamily), int fontSize = null, string fontHexColor = null, bool isBoldFont = null, bool isItalicFont = null, bool isUnderLineFont = null, int lineHeight = null, int characterLimit = null, ValidationType validationType = (ValidationType)0, string validationCustomRegex = null, string placeholder = null, string id = null, string validationCustomRegexMessage = null, string dataSyncTag = null, bool isReadOnly = null)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pageNumber | pageNumber. |
Rectangle | bounds | bounds (required). |
System.Boolean | isRequired | isRequired. |
System.String | value | value. |
FontFamily | font | font (required). |
System.Int32 | fontSize | fontSize. |
System.String | fontHexColor | fontHexColor. |
System.Boolean | isBoldFont | isBoldFont. |
System.Boolean | isItalicFont | isItalicFont. |
System.Boolean | isUnderLineFont | isUnderLineFont. |
System.Int32 | lineHeight | lineHeight. |
System.Int32 | characterLimit | characterLimit. |
ValidationType | validationType | validationType. |
System.String | validationCustomRegex | validationCustomRegex. |
System.String | placeholder | placeHolder. |
System.String | id | id. |
System.String | validationCustomRegexMessage | validationCustomRegexMessage. |
System.String | dataSyncTag | dataSyncTag. |
System.Boolean | isReadOnly | Gets or sets a value indicating whether is read only mode. |
TextBoxField(String, Int32, Rectangle, Boolean, String, FontFamily, Int32, String, Boolean, Boolean, Boolean, Int32, Int32, ValidationType, String, String, String, String)
Initializes a new instance of the TextBoxField class.
Declaration
public TextBoxField(string name = null, int pageNumber = null, Rectangle bounds = null, bool isRequired = null, string value = null, FontFamily font = default(FontFamily), int fontSize = null, string fontHexColor = null, bool isBoldFont = null, bool isItalicFont = null, bool isUnderLineFont = null, int lineHeight = null, int characterLimit = null, ValidationType validationType = (ValidationType)0, string validationCustomRegex = null, string placeholder = null, string validationCustomRegexMessage = null, string dataSyncTag = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | name. |
System.Int32 | pageNumber | pageNumber. |
Rectangle | bounds | bounds (required). |
System.Boolean | isRequired | isRequired. |
System.String | value | value. |
FontFamily | font | font (required). |
System.Int32 | fontSize | fontSize. |
System.String | fontHexColor | fontHexColor. |
System.Boolean | isBoldFont | isBoldFont. |
System.Boolean | isItalicFont | isItalicFont. |
System.Boolean | isUnderLineFont | isUnderLineFont. |
System.Int32 | lineHeight | lineHeight. |
System.Int32 | characterLimit | characterLimit. |
ValidationType | validationType | validationType. |
System.String | validationCustomRegex | validationCustomRegex. |
System.String | placeholder | placeHolder. |
System.String | validationCustomRegexMessage | validationCustomRegexMessage. |
System.String | dataSyncTag | dataSyncTag. |
Properties
| Improve this Doc View SourcePlaceholder
Gets or Sets Placeholder value
Declaration
public string Placeholder { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Gets the form field type.It is a read only property.
Declaration
public override FieldType Type { get; set; }
Property Value
Type | Description |
---|---|
FieldType |
Overrides
| Improve this Doc View SourceValidationCustomRegex
Gets or Sets ValidationCustomRegex
Declaration
public string ValidationCustomRegex { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ValidationCustomRegexMessage
Declaration
public string ValidationCustomRegexMessage { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ValidationType
Gets or Sets ValidationType
Declaration
public ValidationType ValidationType { get; set; }
Property Value
Type | Description |
---|---|
ValidationType |