PropertyGridEditorPart.Display 属性
定义
public:
virtual property bool Display { bool get(); };
public override bool Display { get; }
member this.Display : bool
Public Overrides ReadOnly Property Display As Boolean
属性值
一个布尔值,指示是否应显示该控件。A Boolean value that indicates whether the control should be displayed.
注解
Display false 如果基属性的值也为,则属性返回 false 。The Display property returns false if the value on the base property is also false. 否则,如果要编辑的控件不是 null ,则显示该 PropertyGridEditorPart 控件。Otherwise, if the control to be edited is not null, then the PropertyGridEditorPart control is displayed.
Display仅当页面处于编辑模式且 WebPart 已选择控件进行编辑时,此属性才适用。The Display property applies only when a page is in edit mode, and a WebPart control has been selected for editing.