Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets a Boolean value that indicates whether the application page is hosted inside a dialog box.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Protected Friend ReadOnly Property IsDialogMode As Boolean
Get
'Usage
Dim value As Boolean
value = Me.IsDialogMode
protected internal bool IsDialogMode { get; }
Type: System.Boolean
true if the page is being hosted inside a dialog box; otherwise, false.
This property specifies whether the query string of a page contains the string "IsDlg=1". All pages hosted inside a Microsoft SharePoint Foundation 2010 dialog box contain this string, but other pages that are not hosted in a dialog box may also contain the string.
UnsecuredLayoutsPageBase class