<div class="meta" robots="noindex">

</div>

Method

# DesktopListBox.CellUnderline

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2022r1. Please use `DesktopListBox.CellUnderlineAt<desktoplistbox.cellunderlineat>` as a replacement.

</div>

<div class="rst-class">

forsearch

</div>

DesktopListBox.CellUnderline

**CellUnderline**(RowNumber As `Integer</api/data_types/integer>`, ColumnNumber As `Integer</api/data_types/integer>`) As `Boolean</api/data_types/boolean>`

Used to add or remove the underline style from the text of the specified cell.

Assign `True</api/language/true>` to add the underline style and `False</api/language/false>` to remove the underline style. For example:

``` xojo
ListBox1.CellUnderline(1, 1) = True
```
