LayoutEditorPart.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 true 即使 AllowEdit 属性位于 false 关联控件上,属性也将返回 WebPart 。The Display property returns true even if the AllowEdit property is false on the associated WebPart control. 这是为了使 LayoutEditorPart 控件在编辑模式下始终可用,即使在 WebPart 控件无法由其他控件编辑时也是如此 EditorPart 。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.