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)
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.