Share via


FormComponent Class

Supports all basic methods and properties for all form-rendering and field-rendering controls, such as ControlMode, templates, and logic for conditional rendering.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    Microsoft.SharePoint.WebControls.SPControl
      Microsoft.SharePoint.WebControls.TemplateBasedControl
        Microsoft.SharePoint.WebControls.FormComponent
          

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class FormComponent _
    Inherits TemplateBasedControl
'Usage
Dim instance As FormComponent
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class FormComponent : TemplateBasedControl

Remarks

All Microsoft SharePoint Foundation form-rendering controls derive from FormComponent.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

FormComponent Members

Microsoft.SharePoint.WebControls Namespace

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    Microsoft.SharePoint.WebControls.SPControl
      Microsoft.SharePoint.WebControls.TemplateBasedControl
        Microsoft.SharePoint.WebControls.FormComponent
          CirculationEditFormFields
          MyContactInfoField
          MyWhereaboutsField
          WhereaboutsEditFormFields
          WhereaboutsPersonalSettingsFields
          Microsoft.SharePoint.WebControls.ApprovalMessage
          Microsoft.SharePoint.WebControls.ApprovalStatus
          Microsoft.SharePoint.WebControls.AssignToEmailMessage
          Microsoft.SharePoint.WebControls.AttachmentUpload
          Microsoft.SharePoint.WebControls.AttendeeEmailResponse
          Microsoft.SharePoint.WebControls.BackLinksIterator
          Microsoft.SharePoint.WebControls.ChangeContentType
          Microsoft.SharePoint.WebControls.CopySourceInfo
          Microsoft.SharePoint.WebControls.CopySourceUrlInfo
          Microsoft.SharePoint.WebControls.CreatedModifiedInfo
          Microsoft.SharePoint.WebControls.CreationType
          Microsoft.SharePoint.WebControls.DiffSelectorIterator
          Microsoft.SharePoint.WebControls.DocumentFolderName
          Microsoft.SharePoint.WebControls.DocumentLibraryFields
          Microsoft.SharePoint.WebControls.DocumentTransformersInfo
          Microsoft.SharePoint.WebControls.EmailCalendarMessage
          Microsoft.SharePoint.WebControls.FieldMetadata
          Microsoft.SharePoint.WebControls.FileUploadedMessage
          Microsoft.SharePoint.WebControls.FolderFormFields
          Microsoft.SharePoint.WebControls.FormToolBar
          Microsoft.SharePoint.WebControls.GoBackButton
          Microsoft.SharePoint.WebControls.GoToCopySourceLink
          Microsoft.SharePoint.WebControls.InformationBar
          Microsoft.SharePoint.WebControls.InitContentType
          Microsoft.SharePoint.WebControls.ItemHiddenVersion
          Microsoft.SharePoint.WebControls.ItemValidationFailedMessage
          Microsoft.SharePoint.WebControls.ListFieldIterator
          Microsoft.SharePoint.WebControls.NextPageButton
          Microsoft.SharePoint.WebControls.RequiredFieldMessage
          Microsoft.SharePoint.WebControls.SaveButton
          Microsoft.SharePoint.WebControls.UnlinkCopyButton
          Microsoft.SharePoint.WebControls.UserInfoListFormToolBar
          Microsoft.SharePoint.WebControls.VersionDiff
          Microsoft.SharePoint.WebControls.VersionDiffDescription
          Microsoft.SharePoint.WebControls.WebPartPageMaintenanceMessage
          Microsoft.SharePoint.WebControls.WorkflowForm