Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

LayoutEditorPart.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)

abstract Display : bool with get 
override Display : bool with get

Property Value

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

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft