Editare

Partajați prin


FreeformActivityDesigner.AutoSizeMargin Property

Definition

Gets or sets the margin size to render around the child designers when the FreeformActivityDesigner is automatically resized.

public:
 property System::Drawing::Size AutoSizeMargin { System::Drawing::Size get(); void set(System::Drawing::Size value); };
public System.Drawing.Size AutoSizeMargin { get; set; }
member this.AutoSizeMargin : System.Drawing.Size with get, set
Public Property AutoSizeMargin As Size

Property Value

A Size that represents the size of the margin to render around the child designers of the FreeformActivityDesigner.

Remarks

The default size of AutoSizeMargin is a Size object with dimensions of 40 pixels by 40 pixels.

If the AmbientTheme.ShowGrid property associated with the current workflow theme is set to true, AutoSizeMargin settings are half the height and half the width of the grid size.

When you set AutoSizeMargin, the layout of the FreeformActivityDesigner is updated.

Applies to