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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected Friend ReadOnly Property IsDialogMode As Boolean
Get
'Usage
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.
Remarks
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
Reference
UnsecuredLayoutsPageBase Class