FreeformActivityDesigner.AutoSizeMargin Propriedade

Definição

Obtém ou define o tamanho da margem a ser renderizado ao redor dos designers filho quando o FreeformActivityDesigner é redimensionado automaticamente.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

Valor da propriedade

Size

Um Size que representa o tamanho da margem a ser renderizado em volta dos designers filho do FreeformActivityDesigner .A Size that represents the size of the margin to render around the child designers of the FreeformActivityDesigner.

Comentários

O tamanho padrão de AutoSizeMargin é um Size objeto com dimensões de 40 pixels por 40 pixels.The default size of AutoSizeMargin is a Size object with dimensions of 40 pixels by 40 pixels.

Se a AmbientTheme.ShowGrid propriedade associada ao tema do fluxo de trabalho atual for definida como true , AutoSizeMargin as configurações serão metade da altura e metade da largura do tamanho da grade.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.

Quando você define AutoSizeMargin , o layout do FreeformActivityDesigner é atualizado.When you set AutoSizeMargin, the layout of the FreeformActivityDesigner is updated.

Aplica-se a