Edit

Share via


LayoutEditorPart.Display Property

Definition

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

public:
 virtual property bool Display { bool get(); };
public override bool Display { get; }
member this.Display : bool
Public Overrides ReadOnly Property Display As Boolean

Property Value

A Boolean value that indicates whether the control should be displayed.

Remarks

The Display property returns true even if the AllowEdit property is false on the associated WebPart control. This is so that the LayoutEditorPart control can always be available in edit mode, even when a WebPart control cannot be edited by the other EditorPart controls.

Applies to

See also