_OlkTextBox.EnterKeyBehavior Property
Returns or sets a Boolean (bool in C#) that defines the way the ENTER key behaves in the control. Read/write.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
Property EnterKeyBehavior As Boolean
Get
Set
'Usage
Dim instance As _OlkTextBox
Dim value As Boolean
value = instance.EnterKeyBehavior
instance.EnterKeyBehavior = value
[DispIdAttribute()]
bool EnterKeyBehavior { get; set; }
Property Value
Type: System.Boolean
Remarks
When this property is True, pressing ENTER creates a new line. When this property is False, pressing ENTER moves the focus to the next control in tab order. The default value for this property is False.