LayoutEditorPart.Display 属性

定义

获取一个值,该值指示当某个控件的关联 WebPart 控件在编辑模式下时是否应显示该控件。Gets a value that indicates whether a control should be displayed when its associated WebPart control is in edit mode.

public:
 virtual property bool Display { bool get(); };
public override bool Display { get; }
member this.Display : bool
Public Overrides ReadOnly Property Display As Boolean

属性值

Boolean

一个布尔值,指示是否应显示该控件。A Boolean value that indicates whether the control should be displayed.

注解

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

适用于

另请参阅