SummaryLinkWebPart class

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

This API is not CLS-compliant. 

Inheritance hierarchy


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 NotInheritable Class SummaryLinkWebPart _
    Inherits CmsDataFormWebPart _
    Implements INamingContainer, IWebPartVariationUpdate
Dim instance As SummaryLinkWebPart
[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.

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


SummaryLinkWebPart members

Microsoft.SharePoint.Publishing.WebControls namespace