次の方法で共有


_OlkCategory.AutoSize Property

Returns or sets a Boolean (bool in C#) that automatically sizes the control to display the entire contents. Read/write.

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

Syntax

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

value = instance.AutoSize

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

Property Value

Type: System.Boolean

Remarks

The default value for this property is True.

This control assumes one line unless the contents expand and need more space. If this happens, the control will grow to display the contents and move the remaining form contents down to make space.

See Also

Reference

_OlkCategory Interface

_OlkCategory Members

Microsoft.Office.Interop.Outlook Namespace