Back to Devexpress

TextAreaBuilder.AccessKey(String) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-textareabuilder-dot-accesskey-x28-system-dot-string-x29.md

latest1.3 KB
Original Source

TextAreaBuilder.AccessKey(String) Method

Specifies the shortcut key that sets focus on the UI component. Mirrors the client-side accessKey option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public TextAreaBuilder AccessKey(
    string value
)

Parameters

NameTypeDescription
valueString

The option value.

|

Returns

TypeDescription
TextAreaBuilder

A reference to this instance after the method is called.

|

Remarks

Use the following notation to set the option’s value:

cshtml
@(Html.DevExtreme().TextArea()
    .AccessKey("A")
)

See Also

TextAreaBuilder Class

TextAreaBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace