ParentControlDesigner.AllowControlLasso Property


Gets a value indicating whether selected controls will be re-parented.

Namespace:   System.Windows.Forms.Design
Assembly:  System.Design (in System.Design.dll)

protected virtual bool AllowControlLasso { get; }

Property Value

Type: System.Boolean

true if the controls that were selected by lassoing on the designer's surface will be re-parented to this designer's control.

The AllowControlLasso method is called after the user selects a toolbox item that has a ParentControlDesigner associated with it. It draws a reversible rectangle on a designer's surface.

.NET Framework
Available since 2.0
Return to top