Edit

Share via


ContainerControlDesigner.AllowResize Property

Definition

Gets a value indicating if the control can be resized at design time.

public:
 virtual property bool AllowResize { bool get(); };
public override bool AllowResize { get; }
member this.AllowResize : bool
Public Overrides ReadOnly Property AllowResize As Boolean

Property Value

true, if the control can be resized; otherwise, false.

Remarks

The base implementation for the AllowResize property returns true. This indicates that the designer supports resizing of the control on the design surface.

Notes to Inheritors

Classes that are derived from the ContainerControlDesigner class can override the AllowResize property to indicate that the designer does not support resizing of the control on the design surface.

Applies to

See also