Share via


OlkControl.EnableAutoLayout Property

Returns or sets a Boolean (bool in C#) that enables automatic adjustments of the layout for the control with respect to the rest of the form. 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 OlkControl
Dim value As Boolean

value = instance.EnableAutoLayout

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

Property Value

Type: System.Boolean

Remarks

Automatic adjustments of the layout of a control include vertically or horizontally aligning the control with respect to other controls, and sizing the height or the width of the control with respect to the length or the width of the form.

See Also

Reference

OlkControl Interface

OlkControl Members

Microsoft.Office.Interop.Outlook Namespace