Class DropdownField
DropdownField.
[DataContract]
public class DropdownField : FormField, IFormField
- Inheritance
-
DropdownField
- Implements
- Inherited Members
Constructors
DropdownField()
Initializes a new instance of the DropdownField class.
[JsonConstructor]
protected DropdownField()
DropdownField(int, Rectangle, bool, string, bool, FontFamily, int, string, bool, bool, int, List<string>, string, string, string, List<ConditionalRule>)
Initializes a new instance of the DropdownField class.
public DropdownField(int pageNumber = 0, Rectangle bounds = null, bool isRequired = false, string value = null, bool isUnderLineFont = false, FontFamily font = FontFamily.Helvetica, int fontSize = 0, string fontHexColor = null, bool isBoldFont = false, bool isItalicFont = false, int lineHeight = 0, List<string> dropdownOptions = null, string placeholder = null, string id = null, string dataSyncTag = null, List<ConditionalRule> conditionalRules = null)
Parameters
pageNumber
intpageNumber.
bounds
Rectanglebounds (required).
isRequired
boolisRequired.
value
stringvalue.
isUnderLineFont
boolisUnderLineFont.
font
FontFamilyfont (required).
fontSize
intfontSize.
fontHexColor
stringfontHexColor.
isBoldFont
boolisBoldFont.
isItalicFont
boolisItalicFont.
lineHeight
intlineHeight.
dropdownOptions
List<string>dropdownOptions.
placeholder
stringplaceHolder.
id
stringid.
dataSyncTag
stringdataSyncTag.
conditionalRules
List<ConditionalRule>Gets or sets the conditionalRules.
Properties
DropdownOptions
Gets or Sets Dropdown Options.
[DataMember(Name = "dropdownOptions", EmitDefaultValue = false)]
public List<string> DropdownOptions { get; set; }
Property Value
Placeholder
Gets or Sets Placeholder value.
[DataMember(Name = "placeholder", EmitDefaultValue = false)]
public string Placeholder { get; set; }
Property Value
Type
Gets or sets the form field type.It is a read only property.
[DataMember(Name = "fieldType", EmitDefaultValue = true)]
public override FieldType Type { get; set; }