Back to Devexpress

ASPxGridView.KeyboardSupport Property

aspnet-devexpress-dot-web-dot-aspxgridview-a16f290d.md

latest1.9 KB
Original Source

ASPxGridView.KeyboardSupport Property

Specifies whether keyboard navigation is available in the ASPxGridView control.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(false)]
public bool KeyboardSupport { get; set; }
vb
<DefaultValue(False)>
Public Property KeyboardSupport As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true, if keyboard navigation is enabled; otherwise, false.

|

Remarks

Set the AccessibilityCompliant property to true to add the “Presentation” role attribute to the grid table and prevent the grid table from focusing. In this case, the ASPxGridView.KeyboardSupport property is not in effect as it applies focus to the grid table.

aspx
<dx:ASPxGridView runat="server" ID="grid" KeyboardSupport="true">
    //...
</dx:ASPxGridView>

Concept

Keyboard Navigation

Online Demo

See Also

Grid View

ASPxGridView Class

ASPxGridView Members

DevExpress.Web Namespace