Share via

UnsecuredLayoutsPageBase.IsDialogMode property

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)


Protected Friend ReadOnly Property IsDialogMode As Boolean
Dim value As Boolean

value = Me.IsDialogMode
protected internal bool IsDialogMode { get; }

Property value

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.

See also


UnsecuredLayoutsPageBase class

UnsecuredLayoutsPageBase members

Microsoft.SharePoint.WebControls namespace