Share via


SummaryLink.GroupStyle Property

Gets template information about how to render the group that contains the SummaryLink object.

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

Syntax

'Declaration
Public ReadOnly Property GroupStyle As String
    Get
'Usage
Dim instance As SummaryLink
Dim value As String

value = instance.GroupStyle
public string GroupStyle { get; }

Property Value

Type: System.String
Template information for rendering the group containing the SummaryLink object.

Remarks

This property determines which group style to use for this SummaryLink object.

This property is set when the UpdateLinkProperties method of the containing SummaryLinkFieldValue object is called before the links are rendered or saved.

Examples

public static SummaryLinkFieldValue createSummaryLinkValue()
        {
            SummaryLinkFieldValue summaryLinkValue = new SummaryLinkFieldValue();
            summaryLinkValue.DisplayColumns = 2;
            summaryLinkValue.LinkStyle = "Bullets";
            summaryLinkValue.GroupStyle = "Black";

See Also

Reference

SummaryLink Class

SummaryLink Members

Microsoft.SharePoint.Publishing Namespace

GroupStyle

SummaryLink