Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

HandleReturn Property, SftTree Class

Defines whether the control accepts and handles the Return key.

Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public bool HandleReturn { get; set; }
Public Property HandleReturn As Boolean

Value

True if the control handles the Return key, otherwise False.

The default value is True.

Comments

Defines whether the control accepts and handles the Return key.

If enabled, the Return key is handled by the control and the KeyDown event will be generated for the Return key. In this case, if SftTree.AutoRespond is True, the current item is automatically expanded or collapsed.

Otherwise, the control ignores the Return key, which allows an enclosing form's default button to respond to the Return key instead.

See Also SftTree Class | Classes | SftTree/NET 2.0