SiteElementControl class
Represents the Site Elements control that is used to render master page elements such as a header or a footer.
Inheritance hierarchy
System.Object
System.Web.UI.Control
Microsoft.SharePoint.WebControls.SPControl
Microsoft.SharePoint.WebControls.TemplateBasedControl
Microsoft.SharePoint.WebControls.FormComponent
Microsoft.SharePoint.WebControls.FieldMetadata
Microsoft.SharePoint.WebControls.BaseFieldControl
Microsoft.SharePoint.WebControls.BaseTextField
Microsoft.SharePoint.WebControls.NoteField
Microsoft.SharePoint.WebControls.RichTextField
Microsoft.SharePoint.Publishing.WebControls.BaseRichField
Microsoft.SharePoint.Publishing.WebControls.RichHtmlField
Microsoft.SharePoint.Publishing.WebControls.SiteElementControl
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SiteElementControl _
Inherits RichHtmlField
'Usage
Dim instance As SiteElementControl
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SiteElementControl : RichHtmlField
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
Microsoft.SharePoint.Publishing.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.FieldMetadata
Microsoft.SharePoint.WebControls.BaseFieldControl
Microsoft.SharePoint.WebControls.BaseTextField
Microsoft.SharePoint.WebControls.NoteField
Microsoft.SharePoint.WebControls.RichTextField
Microsoft.SharePoint.Publishing.WebControls.BaseRichField
Microsoft.SharePoint.Publishing.WebControls.RichHtmlField
Microsoft.SharePoint.Publishing.WebControls.SiteElementControl