Export (0) Print
Expand All

SummaryLinkWebPart class

Derived ASP.NET Web Part that is used to interact with SummaryLinks.

This API is not CLS-compliant. 

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      System.Web.UI.WebControls.Panel
        System.Web.UI.WebControls.WebParts.Part
          System.Web.UI.WebControls.WebParts.WebPart
            Microsoft.SharePoint.WebPartPages.WebPart
              Microsoft.SharePoint.WebPartPages.BaseXsltDataWebPart
                Microsoft.SharePoint.WebPartPages.DataFormWebPart
                  Microsoft.SharePoint.Publishing.WebControls.CmsDataFormWebPart
                    Microsoft.SharePoint.Publishing.WebControls.SummaryLinkWebPart

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

[CLSCompliantAttribute(false)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SummaryLinkWebPart : CmsDataFormWebPart, 
	INamingContainer, IWebPartVariationUpdate

This Web Part is used to interact with SummaryLinks through the SummaryLinkFieldValue object. It can be used as a dynamic Web Part that exists inside a Web Part zone, in which case the data is stored using Web Part technology, or it can be wrapped by a control that handles storage of the SummaryLinkFieldValue in cases where the Web Part is static and has no Web Part storage. The SummaryLinkFieldControl is a control that wraps this SummaryLinkWebPart and provides storage inside a page field.

The SummaryLinkWebPart is a specialized DataFormWebPart that renders a display of the SummaryLinks using XSL style sheets that are associated with the Web Part. It also provides a Design mode experience which includes on-object user interface (UI), such as a toolbar, and EditControlBlock (ECB) menus that allow easy addition, deletion, and editing of individual summary links. The SummaryLinkWebPart supports a client-side drag-and-drop behavior, which allows links and groups to be rearranged.

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