# ListControlConvertEventArgs

Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (4.0.0.0)

* [ConvertEventArgs](https://docs.wisej.com/api/wisej.web/data-binding/wisej.web.converteventargs)
  * [ListControlConvertEventArgs](https://docs.wisej.com/api/wisej.web/lists-and-grids/listcontrol/wisej.web.listcontrolconverteventargs)

Provides data for the [Format](https://docs.wisej.com/api/wisej.web/lists-and-grids/listcontrol/..#format) event.

{% tabs %}
{% tab title="C#" %}

```csharp
public class ListControlConvertEventArgs : ConvertEventArgs
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class ListControlConvertEventArgs
    Inherits ConvertEventArgs
```

{% endtab %}
{% endtabs %}

## Constructors

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) ListControlConvertEventArgs(value, desiredType, listItem)

Initializes a new instance of [ListControlConvertEventArgs](https://docs.wisej.com/api/wisej.web/lists-and-grids/listcontrol/wisej.web.listcontrolconverteventargs).

| Name            | Type                                                          | Description |
| --------------- | ------------------------------------------------------------- | ----------- |
| **value**       | [Object](https://docs.microsoft.com/dotnet/api/system.object) |             |
| **desiredType** | [Type](https://docs.microsoft.com/dotnet/api/system.type)     |             |
| **listItem**    | [Object](https://docs.microsoft.com/dotnet/api/system.object) |             |

## Properties

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) ListItem

[Object](https://docs.microsoft.com/dotnet/api/system.object): Item being converted.

## Used By

| Name                                                                                                                                        | Description                                                                        |
| ------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| [ListControlConvertEventHandler](https://docs.wisej.com/api/wisej.web/lists-and-grids/listcontrol/wisej.web.listcontrolconverteventhandler) | Represents the method that will handle the ListControlConvert event of a ListView. |
