Share via


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