Share via


SiteElementControl.IsEditMode property

Gets whether the site element control is in edit mode.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Protected Overrides ReadOnly Property IsEditMode As Boolean
    Get
'Usage
Dim value As Boolean

value = Me.IsEditMode
protected override bool IsEditMode { get; }

Property value

Type: System.Boolean
true if the site element control is in edit mode; otherwise, false.

See also

Reference

SiteElementControl class

SiteElementControl members

Microsoft.SharePoint.Publishing.WebControls namespace