IsPopUI property

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 bool IsPopUI { get; }

Property value

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