Defines whether the control accepts and handles the Return key.
Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public bool HandleReturn { get; set; }
Public Property HandleReturn As Boolean
True if the control handles the Return key, otherwise False.
The default value is True.
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