ContainerControlDesigner.AllowResize Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.