Share via


FormComponent Class

FormComponent is a top-level control that 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)

Syntax

<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class FormComponent _
    Inherits TemplateBasedControl

Dim instance As FormComponent
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class FormComponent : TemplateBasedControl

Remarks

All Windows SharePoint Services 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
          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.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.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.WebPartPageMaintenanceMessage
          Microsoft.SharePoint.WebControls.WorkflowForm