LayoutEditorPart.Display Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 Overrides ReadOnly Property Display As Boolean

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
Show: