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)
Available in Sandboxed Solutions: No
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property IsPopUI As Boolean
Get
'Usage
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.