Class RadioButtonField
public class RadioButtonField : FormField, IFormField
- Inheritance
-
RadioButtonField
- Implements
- Inherited Members
Constructors
RadioButtonField()
Initializes a new instance of the RadioButtonField class.
[JsonConstructor]
protected RadioButtonField()
RadioButtonField(int, Rectangle, bool, string, FontFamily, int, string, bool, bool, bool, int, int, string, string, bool, List<ConditionalRule>, string)
Initializes a new instance of the RadioButtonField class.
public RadioButtonField(int pageNumber = 0, Rectangle bounds = null, bool isRequired = false, string value = null, FontFamily font = FontFamily.Helvetica, int fontSize = 0, string fontHexColor = null, bool isBoldFont = false, bool isItalicFont = false, bool isUnderLineFont = false, int lineHeight = 0, int characterLimit = 0, string groupName = null, string id = null, bool isReadOnly = false, List<ConditionalRule> conditionalRules = null, string label = null)
Parameters
pageNumber
intGets or sets the page number. (required).
bounds
Rectanglebounds (required).
isRequired
boolGets or sets a value indicating whether is required..
value
stringGets or sets the value..
font
FontFamilyGets or sets the font.
fontSize
intGets or sets the fontSize.
fontHexColor
stringGets or sets the fontHexColor.
isBoldFont
boolGets or sets the isBoldFont.
isItalicFont
boolGets or sets the isItalicFont.
isUnderLineFont
boolGets or sets the isUnderLineFont.
lineHeight
intGets or sets the lineHeight.
characterLimit
intGets or sets the characterLimit.
groupName
stringGets or sets the groupName.
id
stringGets or sets the id.
isReadOnly
boolGets or sets a value indicating whether is read only mode.
conditionalRules
List<ConditionalRule>Gets or sets the conditionalRules.
label
stringGets or sets the label value.
RadioButtonField(string, int, Rectangle, bool, string, FontFamily, int, string, bool, bool, bool, int, int, string)
Initializes a new instance of the FormField class.
[Obsolete("Name is deprecated, please use Id instead")]
public RadioButtonField(string name = null, int pageNumber = 0, Rectangle bounds = null, bool isRequired = false, string value = null, FontFamily font = FontFamily.Helvetica, int fontSize = 0, string fontHexColor = null, bool isBoldFont = false, bool isItalicFont = false, bool isUnderLineFont = false, int lineHeight = 0, int characterLimit = 0, string groupName = null)
Parameters
name
stringGets or sets the name..
pageNumber
intGets or sets the page number. (required).
bounds
Rectanglebounds (required).
isRequired
boolGets or sets a value indicating whether is required..
value
stringGets or sets the value..
font
FontFamilyfontSize
intfontHexColor
stringisBoldFont
boolisItalicFont
boolisUnderLineFont
boollineHeight
intcharacterLimit
intgroupName
string
Properties
GroupName
Gets or sets the group name for the radio button field.
[DataMember(Name = "groupName", EmitDefaultValue = true)]
public string GroupName { get; set; }
Property Value
Label
Gets or sets the Label for radio button fields.
[DataMember(Name = "label", EmitDefaultValue = true)]
public string Label { get; set; }
Property Value
Type
Gets the form field type.It is a read only property.
[DataMember(Name = "fieldType", EmitDefaultValue = true)]
public override FieldType Type { get; set; }