編輯

共用方式為


_OlkTextBox.EnterKeyBehavior Property

Definition

Returns or sets a Boolean (bool in C#) that defines the way the ENTER key behaves in the control. Read/write.

public:
 property bool EnterKeyBehavior { bool get(); void set(bool value); };
public bool EnterKeyBehavior { get; set; }
Public Property EnterKeyBehavior As Boolean

Property Value

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.

Applies to