Condividi tramite


RichHtmlField Class

Represents a field control used to edit data in the HtmlField type fields.

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
                        

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class RichHtmlField _
    Inherits BaseRichField
'Usage
Dim instance As RichHtmlField
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class RichHtmlField : BaseRichField

Remarks

Use the RichHtmlField controls in page layouts and on list edit forms to display and modify the item values of any SPListItem.Fields objects of the publishing HtmlField type.

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

RichHtmlField Members

Microsoft.SharePoint.Publishing.WebControls Namespace

RichHtmlField

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