Partager via


_FormRegion.EnableAutoLayout Property

Returns or sets a Boolean (bool in C#) that specifies whether to use the automatic layout resizing feature when designing form regions in the forms designer. Read/write

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Property EnableAutoLayout As Boolean
    Get
    Set
'Usage
Dim instance As _FormRegion
Dim value As Boolean

value = instance.EnableAutoLayout

instance.EnableAutoLayout = value
[DispIdAttribute()]
bool EnableAutoLayout { get; set; }

Property Value

Type: System.Boolean

Remarks

The automatic layout resizing feature in the forms designer recalculates the form layout dynamically as the form is resized. This feature is only available to form regions in the forms designer.

When this property is True, the forms designer performs automatic layout resizing. When this property is False, the forms designer does not perform automatic layout resizing. The default value is True.

See Also

Reference

_FormRegion Interface

_FormRegion Members

Microsoft.Office.Interop.Outlook Namespace