EditModePanel.PageDisplayMode property

Gets or sets a value that indicates whether this control is visible in Edit mode or Display mode.

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

Syntax

'Declaration
Public Property PageDisplayMode As PageDisplayMode
    Get
    Set
'Usage
Dim instance As EditModePanel
Dim value As PageDisplayMode

value = instance.PageDisplayMode

instance.PageDisplayMode = value
public PageDisplayMode PageDisplayMode { get; set; }

Property value

Type: Microsoft.SharePoint.Publishing.WebControls.PageDisplayMode

Remarks

The PageDisplayMode property is used to determine whether the child controls are displayed in Edit mode or Display mode.

See also

Reference

EditModePanel class

EditModePanel members

Microsoft.SharePoint.Publishing.WebControls namespace