Auto size control or not.

Namespace:  AForge.Controls
Assembly:  AForge.Controls (in AForge.Controls.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public bool AutoSizeControl { get; set; }

Remarks

The property specifies if the control should be autosized or not. If the property is set to trueTruetruetrue (True in Visual Basic), then the control will change its size according to video size and control will change its position automatically to be in the center of parent's control.

Note:Setting the property to trueTruetruetrue (True in Visual Basic) has no effect if Dock property is set to Fill.

See Also