Skip to main content
A newer version of this page is available. .
Tab

GridViewStyles.FocusedCell Property

Specifies the appearance of the focused data cell.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

NuGet Package: DevExpress.Web

Declaration

public GridViewCellStyle FocusedCell { get; }

Property Value

Type Description
GridViewCellStyle

Style settings that specify the focused cell appearance.

Remarks

The FocusedCell property allows you to specify the appearance of the focused cell in markup and in a CSS class.

Markup Example

<dx:ASPxGridView ID="ASPxGridView1" runat="server" ...>
    <!-- ... -->
    <Styles>
        <FocusedCell BackColor="LightYellow" />
    </Styles>
    <SettingsEditing Mode="Batch" />
</dx:ASPxGridView>

CSS Example

#ASPxGridView1 .focusedCellStyle {
    background-color: lightyellow;
}
<dx:ASPxGridView ID="ASPxGridView1" runat="server" ...>
    <!-- ... -->
    <Styles>
        <FocusedCell CssClass="focusedCellStyle" />
    </Styles>
    <SettingsEditing Mode="Batch" />
</dx:ASPxGridView>
See Also