ToolStripPanel.Locked ToolStripPanel.Locked ToolStripPanel.Locked ToolStripPanel.Locked Property

定义

获取或设置一个值,该值指示 ToolStripPanel 是否可以移动或调整大小。Gets or sets a value indicating whether the ToolStripPanel can be moved or resized.

public:
 property bool Locked { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public bool Locked { get; set; }
member this.Locked : bool with get, set
Public Property Locked As Boolean

属性值

如果可以移动 ToolStripPanel 或调整其大小,则为 true;否则为 falsetrue if the ToolStripPanel can be moved or resized; otherwise, false. 默认值为 falseThe default is false.

适用于