Op Englesch liesen Editéieren

Deelen iwwer


EditorPart.Display Property

Definition

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

C#
[System.ComponentModel.Browsable(false)]
public virtual bool Display { get; }

Property Value

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

Attributes

Remarks

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.

Applies to

Produkt Versiounen
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also