TreeListKeyboardNavigationBuilder.EnterKeyAction(GridEnterKeyAction) Method
Mirrors the client-side enterKeyAction option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public TreeListKeyboardNavigationBuilder EnterKeyAction(
GridEnterKeyAction value
)
Parameters
Name | Type | Description |
---|---|---|
value | GridEnterKeyAction | The option value. |
Returns
Type | Description |
---|---|
TreeListKeyboardNavigationBuilder | A reference to this instance after the method is called. |
Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().TreeList()
.KeyboardNavigation(navigation => navigation
.EnterKeyAction(GridEnterKeyAction.MoveFocus)
)
)
See Also