Export (0) Print
Expand All

EditorPart.Display Property

Note: This property is new in the .NET Framework version 2.0.

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)

public virtual bool Display { get; }
/** @property */
public boolean get_Display ()

public function get Display () : boolean

Property Value

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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

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

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft