Class

# WebListBoxTextRenderer

<div class="rst-class">

forsearch

</div>

Listbox

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

## Description

Used to display text in a `WebListBox</api/user_interface/web/weblistbox>` cell.

## Methods

<div class="rst-class">

table-centered_column_4

</div>

| Name                                                        | Parameters                                | Returns                          | Shared |
|-------------------------------------------------------------|-------------------------------------------|----------------------------------|--------|
| `Operator_Convert<weblistboxtextrenderer.operator_convert>` |                                           | `String</api/data_types/string>` |        |
|                                                             | value As `String</api/data_types/string>` |                                  |        |

## Method descriptions

<div id="weblistboxtextrenderer.operator_convert">

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

</div>

<div class="rst-class">

forsearch

</div>

WebListBoxTextRenderer.Operator_Convert

**Operator_Convert** As `String</api/data_types/string>`

> Returns the text of the class instance as a `String</api/data_types/string>`.

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

**Operator_Convert**(value As `String</api/data_types/string>`)

> Assigns the *value* passed to the class instance.

## Sample code

This example in the `Opening<webcontrol.opening>` event of a `WebListBox</api/user_interface/web/weblistbox>` adds a row and assigns a <span class="title-ref">WebListBoxTextRenderer</span> to its first cell:

``` xojo
Me.AddRow("")

Var renderer As New WebListBoxTextRenderer
renderer = "Hello, World!"
Me.CellRendererAt(0, 0) = renderer
```

## Compatibility

|                       |     |
|-----------------------|-----|
| **Project Types**     | Web |
| **Operating Systems** | All |

<div class="seealso">

`WebListBoxCellRenderer</api/web/weblistboxcellrenderer>` parent class; `WebListBox</api/user_interface/web/weblistbox>` control; `WebListBoxCellRenderer</api/web/weblistboxcellrenderer>`, `WebListBoxDateTimeRenderer</api/web/weblistboxdatetimerenderer>`, `WebListBoxImageRenderer</api/web/weblistboximagerenderer>`, and `WebListBoxStyleRenderer</api/web/weblistboxstylerenderer>` classes.

</div>
