Condividi tramite


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
Public method SPMobileChoiceField Initializes a new instance of the SPMobileChoiceField class.

Top

Properties

  Name Description
Public property Adapter (Inherited from MobileControl.)
Public property Alignment (Inherited from MobileControl.)
Public property AppRelativeTemplateSourceDirectory (Inherited from Control.)
Public property BackColor (Inherited from MobileControl.)
Public property BindingContainer (Inherited from Control.)
Public property BreakAfter Gets or sets a value indicating whether a line break immediately follows the rendered field. (Inherited from SPMobileBaseFieldControl.)
Protected property ChildControlsCreated (Inherited from Control.)
Public property ChoiceField Gets the field that the SPMobileChoiceField control is rendering.
Protected property ChoiceOptionTexts Gets the possible values of the field as collection of strings.
Public property ClientID (Inherited from Control.)
Protected property ClientIDSeparator (Inherited from Control.)
Protected property Context (Inherited from Control.)
Public property 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.)
Public property Controls (Inherited from Control.)
Public property CustomAttributes (Inherited from MobileControl.)
Public property DefaultTemplateName Gets the value of the ID attribute of the <RenderingTemplate> element that defines the rendering of the component. (Inherited from SPMobileComponent.)
Protected property DesignMode (Inherited from Control.)
Public property DeviceSpecific (Inherited from MobileControl.)
Public property DisplayName Gets a display name for the field. (Inherited from SPMobileFieldMetaData.)
Public property 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.)
Protected property 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.)
Public property 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.)
Public property EnableTheming (Inherited from MobileControl.)
Public property EnableViewState (Inherited from Control.)
Protected property Events (Inherited from Control.)
Public property Field Gets or sets the field that is rendered when the SPMobileComponent is a field-rendering control. (Inherited from SPMobileComponent.)
Public property FieldControlCollection Gets the collection of fields for the list when SPMobileComponent represents a list item. (Inherited from SPMobileComponent.)
Public property FieldName This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from SPMobileComponent.)
Public property FieldValueSeparator Gets or sets the characters that separate values in multivalued fields. (Inherited from SPMobileBaseFieldControl.)
Public property FirstPage (Inherited from MobileControl.)
Public property Font (Inherited from MobileControl.)
Public property ForeColor (Inherited from MobileControl.)
Public property Form (Inherited from MobileControl.)
Protected property HasChildViewState (Inherited from Control.)
Public property ID Gets the ID of the field. (Inherited from SPMobileBaseFieldControl.)
Protected property IdSeparator (Inherited from Control.)
Protected property InnerText (Inherited from MobileControl.)
Public property InternalName Gets an internal name for the field rendering control. (Inherited from SPMobileFieldMetaData.)
Protected property IsChildControlStateCleared (Inherited from Control.)
Protected property 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.)
Protected property IsEllipsisRenderingText Gets a value indicating whether the string representation of the field's value exceeds the mobile rendering limit. (Inherited from SPMobileBaseFieldControl.)
Public property IsForm Gets a value that indicates whether the page is a form, rather than a list view page or home page. (Inherited from SPMobileComponent.)
Public property IsTemplated (Inherited from MobileControl.)
Protected property IsTrackingViewState (Inherited from Control.)
Public property IsView Gets a value that indicates whether the page is a list view, rather than a form or home page. (Inherited from SPMobileComponent.)
Protected property IsViewStateEnabled (Inherited from Control.)
Public property Item Gets or sets the current list item (which is the item that is rendered when SPMobileComponent represents a list item). (Inherited from SPMobileComponent.)
Public property ItemFieldValue Gets or sets the value of the field for the current list item. (Inherited from SPMobileBaseFieldControl.)
Public property ItemId Gets or sets the ID of object in the Item property. (Inherited from SPMobileComponent.)
Protected property LabelControl Gets the child label control, if any, that renders the value of the field. (Inherited from SPMobileBaseFieldControl.)
Public property LastPage (Inherited from MobileControl.)
Public property Linkable Gets or sets a value that indicates whether SPMobileComponent can be a link to another page or form. (Inherited from SPMobileComponent.)
Protected property 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.)
Public property List Gets or sets the list that is rendered when SPMobileComponent represents a list. (Inherited from SPMobileComponent.)
Protected property ListDataValidatorControl Gets a control that provides basic validation of the field value. (Inherited from SPMobileBaseFieldControl.)
Public property ListId Gets or sets the ID of the object in the List property. (Inherited from SPMobileComponent.)
Public property ListItem Gets or sets the current list item (which is the item that is rendered when SPMobileComponent represents a list item). (Inherited from SPMobileComponent.)
Protected property LoadViewStateByID (Inherited from Control.)
Protected property 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.)
Public property MobileDefaultViewUrl Gets or sets the URL for the default mobile view when the SPMobileComponent represents a list. (Inherited from SPMobileComponent.)
Public property MobilePage (Inherited from MobileControl.)
Public property NamingContainer (Inherited from Control.)
Protected property 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.)
Public property OptionCount Gets the number of options the field contains.
Public property OptionNumberLimit Gets the maximum number of choices the field can offer to users. (Inherited from SPMobileBaseChoiceField.)
Protected property 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.)
Public property OptionTextLengthLimit Gets the maximum number of characters that any given option in the choice field can have. (Inherited from SPMobileBaseChoiceField.)
Protected property 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.)
Public property Page (Inherited from Control.)
Public property PageType Gets the type of current page. (Inherited from SPMobileComponent.)
Protected property PaginateChildren (Inherited from MobileControl.)
Public property Parent (Inherited from Control.)
Public property PostValue Gets the value that the field will have after the next postback of the page. (Inherited from SPMobileBaseFieldControl.)
Public property ReadOnly Gets a value that indicates whether the field is read only. (Overrides SPMobileBaseFieldControl.ReadOnly.)
Public property 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.)
Protected property RegionalSettings Gets an object holding information about the cultural context. (Inherited from SPMobileComponent.)
Protected property Required Gets a value that indicates whether the field is required to have a value. (Inherited from SPMobileFieldMetaData.)
Protected property RequiredFieldValidatorControl Gets a control that verifies that the field has a value when the field is required to have one. (Inherited from SPMobileBaseChoiceField.)
Protected property SharePointContext Gets an object holding context information about such objects as the current application, site collection, site, list, or list item. (Inherited from SPMobileComponent.)
Public property Site (Inherited from Control.)
Public property SkinID (Inherited from MobileControl.)
Protected property Style (Inherited from MobileControl.)
Public property StyleReference (Inherited from MobileControl.)
Public property SubControlNumberLimit Gets the rendering limit for the component. (Inherited from SPMobileComponent.)
Protected property SubControlNumberLimitKey Gets a key that can be used to look up a mobile rendering limit value for the component. (Inherited from SPMobileComponent.)
Public property Template Gets or sets the template that controls rendering of the SPMobileComponent object. (Inherited from SPMobileComponent.)
Public property TemplateControl (Inherited from Control.)
Public property TemplateName Gets or sets the ID attribute of a <RenderingTemplate> element that controls the rendering of the SPMobileComponent object. (Inherited from SPMobileComponent.)
Public property TemplateSourceDirectory (Inherited from Control.)
Public property TextLengthLimit Gets the maximum number of characters that can be used in the field's value. (Inherited from SPMobileBaseFieldControl.)
Protected property 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.)
Protected property 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.)
Protected property 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.)
Public property UniqueID (Inherited from Control.)
Protected property 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.)
Public property Value Gets the currently selected value in the UI. (Inherited from SPMobileBaseChoiceField.)
Public property View Gets or sets the current view for the SPMobileComponent when it represents a list. (Inherited from SPMobileComponent.)
Public property ViewId Gets or sets the GUID of the current view. (Inherited from SPMobileComponent.)
Protected property ViewState (Inherited from Control.)
Protected property ViewStateIgnoresCase (Inherited from Control.)
Public property Visible (Inherited from Control.)
Public property VisibleWeight Gets the approximate weight of the control in characters. (Inherited from SPMobileComponent.)
Protected property WarningMessage Obsolete. Gets a message warning that not all the options are visible.
Public property Web Gets the current SharePoint site. (Inherited from SPMobileComponent.)
Public property Weightless Gets or sets a value indicating whether the control is considered weightless (having zero characters) for purposes of pagination. (Inherited from SPMobileComponent.)
Public property Wrapping (Inherited from MobileControl.)

Top

Methods

  Name Description
Protected method AddedControl (Inherited from MobileControl.)
Public method AddLinkedForms (Inherited from MobileControl.)
Protected method AddParsedSubObject (Inherited from MobileControl.)
Protected method AllowApprove Gets a value indicating whether the current user has permission to approve items submitted to the specified list. (Inherited from SPMobileComponent.)
Protected method AllowDelete Gets a value indicating whether the current user has permission to delete the specified list item. (Inherited from SPMobileComponent.)
Protected method AllowEdit Gets a value indicating whether the current user has permission to edit the specified list item. (Inherited from SPMobileComponent.)
Protected method AllowNew Gets a value indicating whether the current user has permission to create new items for the specified list. (Inherited from SPMobileComponent.)
Protected method AllowView Gets a value indicating whether the current user has permission to view the specified list item. (Inherited from SPMobileComponent.)
Public method ApplyStyleSheetSkin (Inherited from MobileControl.)
Protected method BuildProfileTree (Inherited from Control.)
Protected method ClearChildControlState (Inherited from Control.)
Protected method ClearChildState (Inherited from Control.)
Protected method ClearChildViewState (Inherited from Control.)
Protected method 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.)
Protected method CreateChoiceControl Creates a control that renders a selection list including all options up to the rendering limit (OptionNumberLimit).
Protected method CreateControlAsLabel Creates a label control that has the value of the field as its text. (Inherited from SPMobileBaseFieldControl.)
Protected method 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.)
Protected method CreateControlCollection (Inherited from Control.)
Protected method 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().)
Protected method CreateControlForEdit Creates a control for rendering the field on an edit page. (Inherited from SPMobileBaseChoiceField.)
Protected method CreateControlForNew Creates a child selection control that renders the field on a New (item) page, subject to rendering limits. (Overrides SPMobileBaseFieldControl.CreateControlForNew().)
Protected method CreateControlForSimpleView Creates a control for rendering the field on the simple version of a list view page. (Inherited from SPMobileBaseFieldControl.)
Protected method CreateControlForThumbnailView Creates a control that presents the field as a thumbnail. (Inherited from SPMobileBaseFieldControl.)
Protected method 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().)
Public method CreateDefaultTemplatedUI (Inherited from MobileControl.)
Protected method CreateStyle (Inherited from MobileControl.)
Protected method CreateTemplatedUI (Inherited from MobileControl.)
Protected method CreateValidators Creates an array of special purpose validator controls. (Inherited from SPMobileBaseChoiceField.)
Public method DataBind() (Inherited from Control.)
Protected method DataBind(Boolean) (Inherited from Control.)
Protected method DataBindChildren (Inherited from Control.)
Public method Dispose (Inherited from Control.)
Protected method EnsureChildControls (Inherited from Control.)
Protected method EnsureID (Inherited from Control.)
Public method EnsureTemplatedUI (Inherited from MobileControl.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindControl(String) (Inherited from Control.)
Protected method FindControl(String, Int32) (Inherited from Control.)
Public method Focus (Inherited from Control.)
Protected method GetAttribute (Inherited from MobileControl.)
Protected method GetDesignModeState (Inherited from Control.)
Protected method 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.)
Public method GetHashCode (Inherited from Object.)
Protected method GetParentMobileComponent Gets the parent SPMobileComponent object of the specified Control object. (Inherited from SPMobileComponent.)
Public method GetTemplate (Inherited from MobileControl.)
Public method GetType (Inherited from Object.)
Public method HasControls (Inherited from Control.)
Protected method HasEvents (Inherited from Control.)
Protected method IsFileItem Gets a value indicating whether the SPMobileComponent object is a file in a document library. (Inherited from SPMobileComponent.)
Protected method IsFolderItem Gets a value indicating whether the SPMobileComponent object is a folder. (Inherited from SPMobileComponent.)
Protected method IsFormSubmitControl (Inherited from MobileControl.)
Protected method IsLiteralContent (Inherited from Control.)
Protected method IsRecurrenceItem Gets a value that indicates whether the SPMobileComponent object is a recurring event on an list of events. (Inherited from SPMobileComponent.)
Public method IsVisibleOnPage (Inherited from MobileControl.)
Protected method LoadControlState (Inherited from Control.)
Protected method LoadPrivateViewState (Inherited from MobileControl.)
Protected method LoadViewState (Inherited from MobileControl.)
Protected method MapPathSecure (Inherited from Control.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method NeedLinkRendering Gets a value indicating whether the field should be rendered as a link. (Inherited from SPMobileBaseFieldControl.)
Protected method OnBubbleEvent (Inherited from Control.)
Protected method OnDataBinding (Inherited from MobileControl.)
Protected method OnInit Represents the method that handles the Init event of a SPMobileBaseFieldControl object. (Inherited from SPMobileBaseFieldControl.)
Protected method OnLoad Represents the method that handles the Load event of a SPMobileBaseFieldControl object. (Inherited from SPMobileBaseFieldControl.)
Protected method OnPageChange (Inherited from MobileControl.)
Protected method OnPreRender Represents the method that handles the PreRender event of a SPMobileBaseFieldControl object. (Inherited from SPMobileBaseFieldControl.)
Protected method OnRender (Inherited from MobileControl.)
Protected method OnUnload (Inherited from MobileControl.)
Protected method OpenFile (Inherited from Control.)
Public method PaginateRecursive (Inherited from MobileControl.)
Protected method RaiseBubbleEvent (Inherited from Control.)
Protected method RegisterFieldControl Registers the SPMobileBaseFieldControl object. (Inherited from SPMobileBaseFieldControl.)
Protected method RemovedControl (Inherited from MobileControl.)
Protected method Render (Inherited from MobileControl.)
Public method RenderChildren (Inherited from MobileControl.)
Public method RenderControl(HtmlTextWriter) (Inherited from Control.)
Protected method RenderControl(HtmlTextWriter, ControlAdapter) (Inherited from Control.)
Protected method ResolveAdapter (Inherited from Control.)
Public method ResolveClientUrl (Inherited from Control.)
Public method ResolveFormReference (Inherited from MobileControl.)
Public method ResolveUrl (Inherited from MobileControl.)
Protected method SaveControlState (Inherited from Control.)
Protected method SavePrivateViewState (Inherited from MobileControl.)
Protected method SaveViewState (Inherited from MobileControl.)
Protected method SetAttribute (Inherited from MobileControl.)
Protected method SetDesignModeState (Inherited from Control.)
Protected method SetFillInTextToChoiceField Creates a new value option for a choice field from the fill-in text the user enters.
Public method SetRenderMethodDelegate (Inherited from Control.)
Public method ToString (Inherited from Object.)
Protected method TrackViewState (Inherited from MobileControl.)
Public method TrySaveFieldValue Saves the PostValue property as the new value for the field. (Inherited from SPMobileBaseFieldControl.)

Top

Events

  Name Description
Public event DataBinding (Inherited from Control.)
Public event Disposed (Inherited from Control.)
Public event Init (Inherited from Control.)
Public event Load (Inherited from Control.)
Public event PreRender (Inherited from Control.)
Public event Unload (Inherited from Control.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IParserAccessor.AddParsedSubObject (Inherited from Control.)
Explicit interface implemetationPrivate property IControlBuilderAccessor.ControlBuilder (Inherited from Control.)
Explicit interface implemetationPrivate property IDataBindingsAccessor.DataBindings (Inherited from Control.)
Explicit interface implemetationPrivate property IExpressionsAccessor.Expressions (Inherited from Control.)
Explicit interface implemetationPrivate method IAttributeAccessor.GetAttribute (Inherited from MobileControl.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.GetDesignModeState (Inherited from Control.)
Explicit interface implemetationPrivate property IDataBindingsAccessor.HasDataBindings (Inherited from Control.)
Explicit interface implemetationPrivate property IExpressionsAccessor.HasExpressions (Inherited from Control.)
Explicit interface implemetationPrivate method IAttributeAccessor.SetAttribute (Inherited from MobileControl.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.SetDesignModeState (Inherited from Control.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.SetOwnerControl (Inherited from Control.)
Explicit interface implemetationPrivate property IControlDesignerAccessor.UserData (Inherited from Control.)

Top

See Also

Reference

SPMobileChoiceField Class

Microsoft.SharePoint.MobileControls Namespace