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
pageNumberintGets or sets the page number. (required).
boundsRectanglebounds (required).
isRequiredboolGets or sets a value indicating whether is required..
valuestringGets or sets the value..
fontFontFamilyGets or sets the font.
fontSizeintGets or sets the fontSize.
fontHexColorstringGets or sets the fontHexColor.
isBoldFontboolGets or sets the isBoldFont.
isItalicFontboolGets or sets the isItalicFont.
isUnderLineFontboolGets or sets the isUnderLineFont.
lineHeightintGets or sets the lineHeight.
characterLimitintGets or sets the characterLimit.
groupNamestringGets or sets the groupName.
idstringGets or sets the id.
isReadOnlyboolGets or sets a value indicating whether is read only mode.
conditionalRulesList<ConditionalRule>Gets or sets the conditionalRules.
labelstringGets 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
namestringGets or sets the name..
pageNumberintGets or sets the page number. (required).
boundsRectanglebounds (required).
isRequiredboolGets or sets a value indicating whether is required..
valuestringGets or sets the value..
fontFontFamilyfontSizeintfontHexColorstringisBoldFontboolisItalicFontboolisUnderLineFontboollineHeightintcharacterLimitintgroupNamestring
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; }