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

public override bool Display { get; }

Property Value

Type: System.Boolean

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

The Display property returns false if the value on the base property is also false. Otherwise, if the control to be edited is not null, then the PropertyGridEditorPart control is displayed.

The Display property applies only when a page is in edit mode, and a WebPart control has been selected for editing.

.NET Framework
Available since 2.0
Return to top