SPContext.IsPopUI property

Gets a value that indicates whether the current request is for a page that represents a pop-up dialog in the user interface (UI).

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


Public ReadOnly Property IsPopUI As Boolean
Dim instance As SPContext
Dim value As Boolean

value = instance.IsPopUI
public bool IsPopUI { get; }

Property value

Type: System.Boolean
true if the page is used as a pop-up dialog; otherwise, false.

See also


SPContext class

SPContext members

Microsoft.SharePoint namespace