System.Drawing.Design.ToolboxItem.Lock Method

Locks the toolbox item and prevents changes to its properties.

Syntax

public virtual void Lock ()

Remarks

The properties of a toolbox item cannot be changed when it is locked.

Requirements

Namespace: System.Drawing.Design
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0