Επεξεργασία

Κοινή χρήση μέσω


FreeformActivityDesigner.AutoSizeMode Property

Definition

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.

Applies to