# Preventing a Cell from Receiving Focus

Discover effective cell interaction customization techniques with a focus on edit mode and user engagement.

## Content



You can prevent cells from receiving focus, and thus not allow the end user to click in that cell. You control focus settings that are defined by keyboard input and mouse operation by setting the [CanFocus](/spreadnet/api/latest/online-win/FarPoint.Win.Spread/FarPoint.Win.Spread.Cell.CanFocus.html) property in the cell. You can also set this property in the columns and rows shortcut objects and you can set it in a style that is applied to a group of cells.

## See Also

[Locating the Pointer Using HitTest](/spreadnet/docs/latest/online-win/overview/spwin-devguide/spwin-interactcell/spwin-cell-indicators/spwin-cntrl-hittest)

[Returning Information for a Clicked Cell](/spreadnet/docs/latest/online-win/overview/spwin-devguide/spwin-interactcell/spwin-cell-indicators/spwin-cell-clickinfo)

[Customizing the Focus Indicator for a Cell](/spreadnet/docs/latest/online-win/overview/spwin-devguide/spwin-interactcell/spwin-cell-indicators/spwin-cellfocusind)