FreeformActivityDesigner.AutoSizeMode 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 or sets the AutoSizeMode settings for the FreeformActivityDesigner.
public:
property System::Windows::Forms::AutoSizeMode AutoSizeMode { System::Windows::Forms::AutoSizeMode get(); void set(System::Windows::Forms::AutoSizeMode value); };
public System.Windows.Forms.AutoSizeMode AutoSizeMode { get; set; }
member this.AutoSizeMode : System.Windows.Forms.AutoSizeMode with get, set
Public Property AutoSizeMode As AutoSizeMode
Property Value
The AutoSizeMode for the FreeformActivityDesigner. The default setting is GrowOnly.
Remarks
The default behavior of AutoSizeMode allows the FreeformActivityDesigner to grow as necessary to fit its contents but does not shrink smaller than the value of the MinimumSize property.
When you set AutoSizeMode, the layout of the FreeformActivityDesigner is updated.