SPMobileChoiceField Members
Include Protected Members
Include Inherited Members
Renders a field that gets a value when a user picks exactly one option from a finite number of options.
The SPMobileChoiceField type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SPMobileChoiceField | Initializes a new instance of the SPMobileChoiceField class. |
Top
Properties
Name | Description | |
---|---|---|
Adapter | (Inherited from MobileControl.) | |
Alignment | (Inherited from MobileControl.) | |
AppRelativeTemplateSourceDirectory | (Inherited from Control.) | |
BackColor | (Inherited from MobileControl.) | |
BindingContainer | (Inherited from Control.) | |
BreakAfter | Gets or sets a value indicating whether a line break immediately follows the rendered field. (Inherited from SPMobileBaseFieldControl.) | |
ChildControlsCreated | (Inherited from Control.) | |
ChoiceField | Gets the field that the SPMobileChoiceField control is rendering. | |
ChoiceOptionTexts | Gets the possible values of the field as collection of strings. | |
ClientID | (Inherited from Control.) | |
ClientIDSeparator | (Inherited from Control.) | |
Context | (Inherited from Control.) | |
ControlMode | Gets an object that specifies whether the control's mode is for the New form, the Display form, or the Edit form. (Inherited from SPMobileComponent.) | |
Controls | (Inherited from Control.) | |
CustomAttributes | (Inherited from MobileControl.) | |
DefaultTemplateName | Gets the value of the ID attribute of the <RenderingTemplate> element that defines the rendering of the component. (Inherited from SPMobileComponent.) | |
DesignMode | (Inherited from Control.) | |
DeviceSpecific | (Inherited from MobileControl.) | |
DisplayName | Gets a display name for the field. (Inherited from SPMobileFieldMetaData.) | |
DisplaySelectionNumberLimit | Gets the maximum number of selected choices in a choice field that is shown in a list view or on an item Display page. (Inherited from SPMobileBaseChoiceField.) | |
DisplaySelectionNumberLimitKey | Gets a key for looking up, in the mobile web.config file, the maximum number of selected choices in a choice field that are shown in a list view or on an item Display page. Use this property only in the derived class SPMobileMultiChoiceField. (Overrides SPMobileBaseChoiceField.DisplaySelectionNumberLimitKey.) | |
EllipsisEnabled | Gets or sets a value indicating whether the control is capable of adding an ellipsis at the end of its rendered data when the data exceeds the mobile rendering limit. (Inherited from SPMobileComponent.) | |
EnableTheming | (Inherited from MobileControl.) | |
EnableViewState | (Inherited from Control.) | |
Events | (Inherited from Control.) | |
Field | Gets or sets the field that is rendered when the SPMobileComponent is a field-rendering control. (Inherited from SPMobileComponent.) | |
FieldControlCollection | Gets the collection of fields for the list when SPMobileComponent represents a list item. (Inherited from SPMobileComponent.) | |
FieldName | This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from SPMobileComponent.) | |
FieldValueSeparator | Gets or sets the characters that separate values in multivalued fields. (Inherited from SPMobileBaseFieldControl.) | |
FirstPage | (Inherited from MobileControl.) | |
Font | (Inherited from MobileControl.) | |
ForeColor | (Inherited from MobileControl.) | |
Form | (Inherited from MobileControl.) | |
HasChildViewState | (Inherited from Control.) | |
ID | Gets the ID of the field. (Inherited from SPMobileBaseFieldControl.) | |
IdSeparator | (Inherited from Control.) | |
InnerText | (Inherited from MobileControl.) | |
InternalName | Gets an internal name for the field rendering control. (Inherited from SPMobileFieldMetaData.) | |
IsChildControlStateCleared | (Inherited from Control.) | |
IsEllipsisRenderingPageType | Gets a value indicating whether the page type is capable of rendering an ellipsis when data is truncated because it exceeds the mobile rendering limit. (Inherited from SPMobileComponent.) | |
IsEllipsisRenderingText | Gets a value indicating whether the string representation of the field's value exceeds the mobile rendering limit. (Inherited from SPMobileBaseFieldControl.) | |
IsForm | Gets a value that indicates whether the page is a form, rather than a list view page or home page. (Inherited from SPMobileComponent.) | |
IsTemplated | (Inherited from MobileControl.) | |
IsTrackingViewState | (Inherited from Control.) | |
IsView | Gets a value that indicates whether the page is a list view, rather than a form or home page. (Inherited from SPMobileComponent.) | |
IsViewStateEnabled | (Inherited from Control.) | |
Item | Gets or sets the current list item (which is the item that is rendered when SPMobileComponent represents a list item). (Inherited from SPMobileComponent.) | |
ItemFieldValue | Gets or sets the value of the field for the current list item. (Inherited from SPMobileBaseFieldControl.) | |
ItemId | Gets or sets the ID of object in the Item property. (Inherited from SPMobileComponent.) | |
LabelControl | Gets the child label control, if any, that renders the value of the field. (Inherited from SPMobileBaseFieldControl.) | |
LastPage | (Inherited from MobileControl.) | |
Linkable | Gets or sets a value that indicates whether SPMobileComponent can be a link to another page or form. (Inherited from SPMobileComponent.) | |
LinkControl | Gets the child link control, if any, that renders the value of the field and links to another page or form. (Inherited from SPMobileBaseFieldControl.) | |
List | Gets or sets the list that is rendered when SPMobileComponent represents a list. (Inherited from SPMobileComponent.) | |
ListDataValidatorControl | Gets a control that provides basic validation of the field value. (Inherited from SPMobileBaseFieldControl.) | |
ListId | Gets or sets the ID of the object in the List property. (Inherited from SPMobileComponent.) | |
ListItem | Gets or sets the current list item (which is the item that is rendered when SPMobileComponent represents a list item). (Inherited from SPMobileComponent.) | |
LoadViewStateByID | (Inherited from Control.) | |
MobileContext | Gets an object holding information about the context that is especially relevant to mobile computing, such as the markup language of the mobile device. (Inherited from SPMobileComponent.) | |
MobileDefaultViewUrl | Gets or sets the URL for the default mobile view when the SPMobileComponent represents a list. (Inherited from SPMobileComponent.) | |
MobilePage | (Inherited from MobileControl.) | |
NamingContainer | (Inherited from Control.) | |
NeedEllipsisRendering | Gets a value indicating whether the rendering of the field is truncated when the size of the field exceeds the rendering limit of the mobile site. (Overrides SPMobileComponent.NeedEllipsisRendering.) | |
OptionCount | Gets the number of options the field contains. | |
OptionNumberLimit | Gets the maximum number of choices the field can offer to users. (Inherited from SPMobileBaseChoiceField.) | |
OptionNumberLimitKey | Gets a key for looking up, in the mobile web.config file, the maximum number of choices users can be given by the choice field. (Overrides SPMobileBaseChoiceField.OptionNumberLimitKey.) | |
OptionTextLengthLimit | Gets the maximum number of characters that any given option in the choice field can have. (Inherited from SPMobileBaseChoiceField.) | |
OptionTextLengthLimitKey | Gets a key for looking up, in the mobile web.config file, the maximum length, in characters, that any option can have. (Overrides SPMobileBaseChoiceField.OptionTextLengthLimitKey.) | |
Page | (Inherited from Control.) | |
PageType | Gets the type of current page. (Inherited from SPMobileComponent.) | |
PaginateChildren | (Inherited from MobileControl.) | |
Parent | (Inherited from Control.) | |
PostValue | Gets the value that the field will have after the next postback of the page. (Inherited from SPMobileBaseFieldControl.) | |
ReadOnly | Gets a value that indicates whether the field is read only. (Overrides SPMobileBaseFieldControl.ReadOnly.) | |
RecycleBinEnabled | Gets a value that indicates whether the current application allows deleted items to be put into the Recycle Bin instead of deleted entirely. (Inherited from SPMobileComponent.) | |
RegionalSettings | Gets an object holding information about the cultural context. (Inherited from SPMobileComponent.) | |
Required | Gets a value that indicates whether the field is required to have a value. (Inherited from SPMobileFieldMetaData.) | |
RequiredFieldValidatorControl | Gets a control that verifies that the field has a value when the field is required to have one. (Inherited from SPMobileBaseChoiceField.) | |
SharePointContext | Gets an object holding context information about such objects as the current application, site collection, site, list, or list item. (Inherited from SPMobileComponent.) | |
Site | (Inherited from Control.) | |
SkinID | (Inherited from MobileControl.) | |
Style | (Inherited from MobileControl.) | |
StyleReference | (Inherited from MobileControl.) | |
SubControlNumberLimit | Gets the rendering limit for the component. (Inherited from SPMobileComponent.) | |
SubControlNumberLimitKey | Gets a key that can be used to look up a mobile rendering limit value for the component. (Inherited from SPMobileComponent.) | |
Template | Gets or sets the template that controls rendering of the SPMobileComponent object. (Inherited from SPMobileComponent.) | |
TemplateControl | (Inherited from Control.) | |
TemplateName | Gets or sets the ID attribute of a <RenderingTemplate> element that controls the rendering of the SPMobileComponent object. (Inherited from SPMobileComponent.) | |
TemplateSourceDirectory | (Inherited from Control.) | |
TextLengthLimit | Gets the maximum number of characters that can be used in the field's value. (Inherited from SPMobileBaseFieldControl.) | |
TextLengthLimitKey | Specifies the constant defined in the mobile web.config file that is assigned the default rendering limit (the maximum number of characters that can be rendered) for the mobile component. (Inherited from SPMobileComponent.) | |
TextLengthLimitKeyForView | Gets a string that can be used to look up (in the mobile web.config file) the mobile rendering limit of the field when it appears on list view pages. (Inherited from SPMobileBaseFieldControl.) | |
UniqueFieldValidatorControl | Gets a control that verifies that the value of the field is unique for the column among all other list items. (Inherited from SPMobileBaseFieldControl.) | |
UniqueID | (Inherited from Control.) | |
ValidationControlId | Gets an ID that will be used by a validator control to identify this SPMobileBaseChoiceField control as the control that the validator should validate. (Inherited from SPMobileBaseChoiceField.) | |
Value | Gets the currently selected value in the UI. (Inherited from SPMobileBaseChoiceField.) | |
View | Gets or sets the current view for the SPMobileComponent when it represents a list. (Inherited from SPMobileComponent.) | |
ViewId | Gets or sets the GUID of the current view. (Inherited from SPMobileComponent.) | |
ViewState | (Inherited from Control.) | |
ViewStateIgnoresCase | (Inherited from Control.) | |
Visible | (Inherited from Control.) | |
VisibleWeight | Gets the approximate weight of the control in characters. (Inherited from SPMobileComponent.) | |
WarningMessage | Obsolete. Gets a message warning that not all the options are visible. | |
Web | Gets the current SharePoint site. (Inherited from SPMobileComponent.) | |
Weightless | Gets or sets a value indicating whether the control is considered weightless (having zero characters) for purposes of pagination. (Inherited from SPMobileComponent.) | |
Wrapping | (Inherited from MobileControl.) |
Top
Methods
Name | Description | |
---|---|---|
AddedControl | (Inherited from MobileControl.) | |
AddLinkedForms | (Inherited from MobileControl.) | |
AddParsedSubObject | (Inherited from MobileControl.) | |
AllowApprove | Gets a value indicating whether the current user has permission to approve items submitted to the specified list. (Inherited from SPMobileComponent.) | |
AllowDelete | Gets a value indicating whether the current user has permission to delete the specified list item. (Inherited from SPMobileComponent.) | |
AllowEdit | Gets a value indicating whether the current user has permission to edit the specified list item. (Inherited from SPMobileComponent.) | |
AllowNew | Gets a value indicating whether the current user has permission to create new items for the specified list. (Inherited from SPMobileComponent.) | |
AllowView | Gets a value indicating whether the current user has permission to view the specified list item. (Inherited from SPMobileComponent.) | |
ApplyStyleSheetSkin | (Inherited from MobileControl.) | |
BuildProfileTree | (Inherited from Control.) | |
ClearChildControlState | (Inherited from Control.) | |
ClearChildState | (Inherited from Control.) | |
ClearChildViewState | (Inherited from Control.) | |
CreateChildControls | Creates any child controls that are required to render the field's value, such as a label control or a link control. (Inherited from SPMobileBaseFieldControl.) | |
CreateChoiceControl | Creates a control that renders a selection list including all options up to the rendering limit (OptionNumberLimit). | |
CreateControlAsLabel | Creates a label control that has the value of the field as its text. (Inherited from SPMobileBaseFieldControl.) | |
CreateControlAsLink | Creates a link control that has the value of the field as its text and the URL of the field display page as its link target. (Inherited from SPMobileBaseFieldControl.) | |
CreateControlCollection | (Inherited from Control.) | |
CreateControlForDisplay | Creates a child Label control that renders the current value of the field on a Display page, subject to rendering limits. (Overrides SPMobileBaseFieldControl.CreateControlForDisplay().) | |
CreateControlForEdit | Creates a control for rendering the field on an edit page. (Inherited from SPMobileBaseChoiceField.) | |
CreateControlForNew | Creates a child selection control that renders the field on a New (item) page, subject to rendering limits. (Overrides SPMobileBaseFieldControl.CreateControlForNew().) | |
CreateControlForSimpleView | Creates a control for rendering the field on the simple version of a list view page. (Inherited from SPMobileBaseFieldControl.) | |
CreateControlForThumbnailView | Creates a control that presents the field as a thumbnail. (Inherited from SPMobileBaseFieldControl.) | |
CreateControlForView | Creates a child Label control that renders the current value of the field (column) in a row on a list view page, subject to rendering limits. (Overrides SPMobileBaseFieldControl.CreateControlForView().) | |
CreateDefaultTemplatedUI | (Inherited from MobileControl.) | |
CreateStyle | (Inherited from MobileControl.) | |
CreateTemplatedUI | (Inherited from MobileControl.) | |
CreateValidators | Creates an array of special purpose validator controls. (Inherited from SPMobileBaseChoiceField.) | |
DataBind() | (Inherited from Control.) | |
DataBind(Boolean) | (Inherited from Control.) | |
DataBindChildren | (Inherited from Control.) | |
Dispose | (Inherited from Control.) | |
EnsureChildControls | (Inherited from Control.) | |
EnsureID | (Inherited from Control.) | |
EnsureTemplatedUI | (Inherited from MobileControl.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FindControl(String) | (Inherited from Control.) | |
FindControl(String, Int32) | (Inherited from Control.) | |
Focus | (Inherited from Control.) | |
GetAttribute | (Inherited from MobileControl.) | |
GetDesignModeState | (Inherited from Control.) | |
GetEllipsisString | Gets a possibly truncated version of the specified String that is no longer than TextLengthLimit (the mobile rendering limit) and that has an ellipsis appended to the end if any characters have been trimmed from it. (Inherited from SPMobileComponent.) | |
GetHashCode | (Inherited from Object.) | |
GetParentMobileComponent | Gets the parent SPMobileComponent object of the specified Control object. (Inherited from SPMobileComponent.) | |
GetTemplate | (Inherited from MobileControl.) | |
GetType | (Inherited from Object.) | |
HasControls | (Inherited from Control.) | |
HasEvents | (Inherited from Control.) | |
IsFileItem | Gets a value indicating whether the SPMobileComponent object is a file in a document library. (Inherited from SPMobileComponent.) | |
IsFolderItem | Gets a value indicating whether the SPMobileComponent object is a folder. (Inherited from SPMobileComponent.) | |
IsFormSubmitControl | (Inherited from MobileControl.) | |
IsLiteralContent | (Inherited from Control.) | |
IsRecurrenceItem | Gets a value that indicates whether the SPMobileComponent object is a recurring event on an list of events. (Inherited from SPMobileComponent.) | |
IsVisibleOnPage | (Inherited from MobileControl.) | |
LoadControlState | (Inherited from Control.) | |
LoadPrivateViewState | (Inherited from MobileControl.) | |
LoadViewState | (Inherited from MobileControl.) | |
MapPathSecure | (Inherited from Control.) | |
MemberwiseClone | (Inherited from Object.) | |
NeedLinkRendering | Gets a value indicating whether the field should be rendered as a link. (Inherited from SPMobileBaseFieldControl.) | |
OnBubbleEvent | (Inherited from Control.) | |
OnDataBinding | (Inherited from MobileControl.) | |
OnInit | Represents the method that handles the Init event of a SPMobileBaseFieldControl object. (Inherited from SPMobileBaseFieldControl.) | |
OnLoad | Represents the method that handles the Load event of a SPMobileBaseFieldControl object. (Inherited from SPMobileBaseFieldControl.) | |
OnPageChange | (Inherited from MobileControl.) | |
OnPreRender | Represents the method that handles the PreRender event of a SPMobileBaseFieldControl object. (Inherited from SPMobileBaseFieldControl.) | |
OnRender | (Inherited from MobileControl.) | |
OnUnload | (Inherited from MobileControl.) | |
OpenFile | (Inherited from Control.) | |
PaginateRecursive | (Inherited from MobileControl.) | |
RaiseBubbleEvent | (Inherited from Control.) | |
RegisterFieldControl | Registers the SPMobileBaseFieldControl object. (Inherited from SPMobileBaseFieldControl.) | |
RemovedControl | (Inherited from MobileControl.) | |
Render | (Inherited from MobileControl.) | |
RenderChildren | (Inherited from MobileControl.) | |
RenderControl(HtmlTextWriter) | (Inherited from Control.) | |
RenderControl(HtmlTextWriter, ControlAdapter) | (Inherited from Control.) | |
ResolveAdapter | (Inherited from Control.) | |
ResolveClientUrl | (Inherited from Control.) | |
ResolveFormReference | (Inherited from MobileControl.) | |
ResolveUrl | (Inherited from MobileControl.) | |
SaveControlState | (Inherited from Control.) | |
SavePrivateViewState | (Inherited from MobileControl.) | |
SaveViewState | (Inherited from MobileControl.) | |
SetAttribute | (Inherited from MobileControl.) | |
SetDesignModeState | (Inherited from Control.) | |
SetFillInTextToChoiceField | Creates a new value option for a choice field from the fill-in text the user enters. | |
SetRenderMethodDelegate | (Inherited from Control.) | |
ToString | (Inherited from Object.) | |
TrackViewState | (Inherited from MobileControl.) | |
TrySaveFieldValue | Saves the PostValue property as the new value for the field. (Inherited from SPMobileBaseFieldControl.) |
Top
Events
Name | Description | |
---|---|---|
DataBinding | (Inherited from Control.) | |
Disposed | (Inherited from Control.) | |
Init | (Inherited from Control.) | |
Load | (Inherited from Control.) | |
PreRender | (Inherited from Control.) | |
Unload | (Inherited from Control.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IParserAccessor.AddParsedSubObject | (Inherited from Control.) | |
IControlBuilderAccessor.ControlBuilder | (Inherited from Control.) | |
IDataBindingsAccessor.DataBindings | (Inherited from Control.) | |
IExpressionsAccessor.Expressions | (Inherited from Control.) | |
IAttributeAccessor.GetAttribute | (Inherited from MobileControl.) | |
IControlDesignerAccessor.GetDesignModeState | (Inherited from Control.) | |
IDataBindingsAccessor.HasDataBindings | (Inherited from Control.) | |
IExpressionsAccessor.HasExpressions | (Inherited from Control.) | |
IAttributeAccessor.SetAttribute | (Inherited from MobileControl.) | |
IControlDesignerAccessor.SetDesignModeState | (Inherited from Control.) | |
IControlDesignerAccessor.SetOwnerControl | (Inherited from Control.) | |
IControlDesignerAccessor.UserData | (Inherited from Control.) |
Top