Partilhar via


ContentTypeIdField Members

Include Protected Members
Include Inherited Members

Renders a field on a form page (not a list view page) that represents the collection of content types on the current top-level Web site by using a GroupedDropDownList child control.

The ContentTypeIdField type exposes the following members.

Constructors

  Name Description
Public method ContentTypeIdField Initializes a new instance of the ContentTypeIdField class.

Top

Properties

  Name Description
Protected property Adapter (Inherited from Control.)
Protected property AllowFirstFocus (Inherited from BaseFieldControl.)
Public property AlternateTemplate (Inherited from TemplateBasedControl.)
Public property AlternateTemplateName (Inherited from TemplateBasedControl.)
Public property AppRelativeTemplateSourceDirectory (Inherited from Control.)
Public property BindingContainer (Inherited from Control.)
Protected property CanCacheRenderedFieldValue (Inherited from BaseFieldControl.)
Protected property ChildControlsCreated (Inherited from Control.)
Public property ClientID (Inherited from Control.)
Protected property ClientIDSeparator (Inherited from Control.)
Protected property Context (Inherited from Control.)
Public property ControlMode (Inherited from FormComponent.)
Public property Controls (Inherited from TemplateBasedControl.)
Protected property ControlTemplate (Inherited from TemplateBasedControl.)
Public property CssClass (Inherited from BaseFieldControl.)
Public property CustomAlternateTemplate (Inherited from TemplateBasedControl.)
Public property CustomTemplate (Inherited from TemplateBasedControl.)
Protected property DefaultAlternateTemplateName (Inherited from TemplateBasedControl.)
Protected property DefaultTemplateName Gets the default template name for this control. (Overrides TemplateBasedControl.DefaultTemplateName.)
Protected property DesignMode (Inherited from Control.)
Public property DisableInputFieldLabel (Inherited from BaseFieldControl.)
Public property DisplaySize (Inherited from FieldMetadata.)
Public property DisplayTemplate (Inherited from BaseFieldControl.)
Public property DisplayTemplateName (Inherited from BaseFieldControl.)
Public property EnableTheming (Inherited from Control.)
Public property EnableViewState (Inherited from Control.)
Public property ErrorMessage (Inherited from BaseFieldControl.)
Protected property Events (Inherited from Control.)
Public property Field (Inherited from FieldMetadata.)
Public property FieldName (Inherited from FieldMetadata.)
Public property Fields (Inherited from FormComponent.)
Protected property HasChildViewState (Inherited from Control.)
Protected property HasPostBackEditData (Inherited from BaseFieldControl.)
Public property ID (Inherited from Control.)
Protected property IdSeparator (Inherited from Control.)
Public property InDesign (Inherited from SPControl.)
Public property InputFieldLabel (Inherited from BaseFieldControl.)
Protected property IsChildControlStateCleared (Inherited from Control.)
Protected property IsFieldValueCached (Inherited from BaseFieldControl.)
Protected property IsInInlineEditMode (Inherited from BaseFieldControl.)
Protected property IsTrackingViewState (Inherited from Control.)
Public property IsValid (Inherited from BaseFieldControl.)
Protected property IsViewStateEnabled (Inherited from Control.)
Public property Item (Inherited from FormComponent.)
Public property ItemContext (Inherited from FormComponent.)
Public property ItemFieldValue (Inherited from BaseFieldControl.)
Public property ItemId (Inherited from FormComponent.)
Public property ItemIdAsString (Inherited from FormComponent.)
Public property List (Inherited from FormComponent.)
Public property ListId (Inherited from FormComponent.)
Public property ListItem (Inherited from FormComponent.)
Public property ListItemFieldValue (Inherited from BaseFieldControl.)
Protected property LoadViewStateByID (Inherited from Control.)
Public property NamingContainer (Inherited from Control.)
Public property Page (Inherited from Control.)
Public property PageUri (Inherited from SPControl.)
Public property Parent (Inherited from Control.)
Protected property PreviousControlMode (Inherited from BaseFieldControl.)
Public property RecurrenceID (Inherited from FormComponent.)
Public property RedirectUrl (Inherited from FormComponent.)
Protected property RegisterAs (Inherited from SPControl.)
Public property RenderContext (Inherited from TemplateBasedControl.)
Public property RibbonCommand (Inherited from FormComponent.)
Public property RibbonContextualGroupCommand (Inherited from FormComponent.)
Public property RibbonGroupCommand (Inherited from FormComponent.)
Public property RibbonTabCommand (Inherited from FormComponent.)
Public property Site (Inherited from Control.)
Public property SkinID (Inherited from Control.)
Public property TabIndex (Inherited from BaseFieldControl.)
Public property Template (Inherited from TemplateBasedControl.)
Public property TemplateContainer (Inherited from TemplateBasedControl.)
Public property TemplateControl (Inherited from Control.)
Public property TemplateName (Inherited from TemplateBasedControl.)
Protected property TemplateOverride (Inherited from TemplateBasedControl.)
Public property TemplateSourceDirectory (Inherited from Control.)
Public property UniqueID (Inherited from Control.)
Public property Value Gets or sets the field value for this field. The value should be of type ContentTypeIdFieldValue. (Overrides BaseFieldControl.Value.)
Public property Version (Inherited from TemplateBasedControl.)
Protected property ViewState (Inherited from Control.)
Protected property ViewStateIgnoresCase (Inherited from Control.)
Public property Visible (Inherited from BaseFieldControl.)
Public property Web (Inherited from TemplateBasedControl.)

Top

Methods

  Name Description
Protected method AddedControl (Inherited from Control.)
Protected method AddParsedSubObject (Inherited from Control.)
Public method ApplyStyleSheetSkin (Inherited from Control.)
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 Override of CreateChildControls. (Overrides BaseFieldControl.CreateChildControls().)
Protected method CreateControlCollection (Inherited from Control.)
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 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 Sets focus to the GroupedDropDownList child of this control. If no child control exists, a child control is created. (Overrides BaseFieldControl.Focus().)
Protected method GetDesignModeState (Inherited from Control.)
Public method GetDesignTimeHtml (Inherited from SPControl.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method HasControls (Inherited from Control.)
Protected method HasEvents (Inherited from Control.)
Protected method IsLiteralContent (Inherited from Control.)
Protected method LoadControlState (Inherited from Control.)
Protected method LoadViewState (Inherited from Control.)
Protected method MapPathSecure (Inherited from Control.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnBubbleEvent (Inherited from Control.)
Protected method OnDataBinding (Inherited from Control.)
Protected method OnInit (Inherited from BaseFieldControl.)
Protected method OnLoad (Inherited from BaseFieldControl.)
Protected method OnPreRender (Inherited from BaseFieldControl.)
Protected method OnUnload (Inherited from Control.)
Protected method OpenFile (Inherited from Control.)
Protected method RaiseBubbleEvent (Inherited from Control.)
Protected method RegisterFieldControl (Inherited from BaseFieldControl.)
Protected method RemovedControl (Inherited from Control.)
Protected method Render (Inherited from BaseFieldControl.)
Protected method RenderChildren (Inherited from Control.)
Public method RenderControl(HtmlTextWriter) (Inherited from Control.)
Protected method RenderControl(HtmlTextWriter, ControlAdapter) (Inherited from Control.)
Protected method RenderFieldForDisplay (Inherited from BaseFieldControl.)
Protected method RenderFieldForInput (Inherited from BaseFieldControl.)
Protected method RenderValidationMessage (Inherited from BaseFieldControl.)
Protected method ResolveAdapter (Inherited from Control.)
Public method ResolveClientUrl (Inherited from Control.)
Public method ResolveUrl (Inherited from Control.)
Protected method SaveControlState (Inherited from Control.)
Protected method SaveViewState (Inherited from Control.)
Protected method SetDesignModeState (Inherited from Control.)
Public method SetRenderMethodDelegate (Inherited from Control.)
Public method ToString (Inherited from Object.)
Protected method TrackViewState (Inherited from Control.)
Public method UpdateFieldValueInItem (Inherited from BaseFieldControl.)
Public method Validate (Inherited from BaseFieldControl.)

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 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 IDesignerEventAccessor.OnDesignerLoad (Inherited from SPControl.)
Explicit interface implemetationPrivate method IDesignerEventAccessor.OnDesignerPreRender (Inherited from SPControl.)
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

ContentTypeIdField Class

Microsoft.SharePoint.Publishing.Fields Namespace