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

</div>

# ListBox.CellAlignmentOffset

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

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2019r2. Please use `DesktopListBox.CellAlignmentOffsetAt<desktoplistbox.cellalignmentoffsetat>` as a replacement.

</div>

## Description

The value is the distance in points from the right edge of the cell. *Row* and *Column* are zero-based. This property overrides ColumnAlignmentOffset for that cell.

## Notes

Any value specified here is applied to the value used for ColumnAlignmentOffset.

## Sample code

This example is applied to a column that is right-aligned and moves the contents of a cell 10 points to the left.

``` xojo
Me.CellAlignmentOffset(1, 3) = -10
```

## Compatibility

All projects types on all supported operating systems.

## See also

`ListBox</api/deprecated/listbox>` parent class; `ColumnAlignmentOffsetAt<listbox.Columnalignmentoffsetat>`
