GridViewStyles.FocusedCell Property
Specifies the appearance of the focused data cell.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
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. Note that this property is in effect when the grid is in batch edit mode
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