Edit

Share via


ToolboxItem.Lock Method

Definition

Locks the toolbox item and prevents changes to its properties.

public:
 void Lock();
public:
 virtual void Lock();
public void Lock ();
public virtual void Lock ();
member this.Lock : unit -> unit
abstract member Lock : unit -> unit
override this.Lock : unit -> unit
Public Sub Lock ()
Public Overridable Sub Lock ()

Remarks

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

Applies to