Export (0) Print
Expand All

EditorPart.Display Property

Gets a value that indicates whether a control should be displayed when its associated WebPart control is in edit mode.

Namespace:  System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

[<BrowsableAttribute(false)>]
abstract Display : bool with get
[<BrowsableAttribute(false)>]
override Display : bool with get

Property Value

Type: System.Boolean
A Boolean value that indicates whether the control should be displayed. The default value is true.

At certain points in the editing process, the zone that contains an EditorPart control checks the Display property to determine whether to display the control.

There are two scenarios where the Display property returns false and the EditorPart control is not displayed. The first scenario occurs when the control being edited is a ProxyWebPart control. The second scenario occurs when the control being edited has its AllowEdit and IsShared properties set to true, while the page's personalization scope is set at user level.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft