BaseChoiceField class
SharePoint Online
Provides core functionality for controls that render fields (on form pages, but not on list view pages) whose value is usually selected by users from a set of options, such as a drop-down list, a set of option buttons, or a set of check boxes.
System.Object
System.Web.UI.Control
Microsoft.SharePoint.WebControls.SPControl
Microsoft.SharePoint.WebControls.TemplateBasedControl
Microsoft.SharePoint.WebControls.FormComponent
Microsoft.SharePoint.WebControls.FieldMetadata
Microsoft.SharePoint.WebControls.BaseFieldControl
Microsoft.SharePoint.WebControls.BaseChoiceField
Microsoft.SharePoint.WebControls.CheckBoxChoiceField
Microsoft.SharePoint.WebControls.DropDownChoiceField
Microsoft.SharePoint.WebControls.RadioButtonChoiceField
System.Web.UI.Control
Microsoft.SharePoint.WebControls.SPControl
Microsoft.SharePoint.WebControls.TemplateBasedControl
Microsoft.SharePoint.WebControls.FormComponent
Microsoft.SharePoint.WebControls.FieldMetadata
Microsoft.SharePoint.WebControls.BaseFieldControl
Microsoft.SharePoint.WebControls.BaseChoiceField
Microsoft.SharePoint.WebControls.CheckBoxChoiceField
Microsoft.SharePoint.WebControls.DropDownChoiceField
Microsoft.SharePoint.WebControls.RadioButtonChoiceField
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Use this class as a base class for deriving controls to render specific types of choice fields on forms (but not on list views).
Objects of the BaseChoiceField type are primarily used as the value of the SPField.FieldRenderingControl property.
A control derived from the BaseChoiceField type can also have a text box in which the user can type a custom value.
Show: