Share via


SummaryLink.OpenInNewWindow property

Gets or sets a value that determines whether or not clicking this SummaryLink object opens its target in a new window.

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

Syntax

'Declaration
Public Property OpenInNewWindow As Boolean
    Get
    Set
'Usage
Dim instance As SummaryLink
Dim value As Boolean

value = instance.OpenInNewWindow

instance.OpenInNewWindow = value
public bool OpenInNewWindow { get; set; }

Property value

Type: System.Boolean
Boolean value that indicates whether clicking this SummaryLink opens its target in a new window.

Remarks

This value can be used to output HTML that ensures that the link either opens in the current window, or in a new window. This value is available in the XSL rendering through the @OpenInNewWindow property.

See also

Reference

SummaryLink class

SummaryLink members

Microsoft.SharePoint.Publishing namespace