This documentation is archived and is not being maintained.

ToolboxItem.Locked Property

Gets a value indicating whether the ToolboxItem is currently locked.

[Visual Basic]
Protected ReadOnly Property  As Boolean
[C#]
protected bool Locked {get;}
[C++]
protected: __property bool get_Locked();
[JScript]
protected function get Locked() : Boolean;

Property Value

true if the toolbox item is locked; otherwise, false.

Remarks

When a ToolboxItem is locked, you cannot adjust its properties.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ToolboxItem Class | ToolboxItem Members | System.Drawing.Design Namespace | CheckUnlocked | Lock

Show: