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)

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
Available since 2.0
Return to top