Editar

Compartilhar via


ListControlConvertEventArgs(Object, Type, Object) Constructor

Definition

Initializes a new instance of the ListControlConvertEventArgs class with the specified object, type, and list item.

public:
 ListControlConvertEventArgs(System::Object ^ value, Type ^ desiredType, System::Object ^ listItem);
public ListControlConvertEventArgs (object value, Type desiredType, object listItem);
public ListControlConvertEventArgs (object? value, Type? desiredType, object? listItem);
new System.Windows.Forms.ListControlConvertEventArgs : obj * Type * obj -> System.Windows.Forms.ListControlConvertEventArgs
Public Sub New (value As Object, desiredType As Type, listItem As Object)

Parameters

value
Object

The value displayed in the ListControl.

desiredType
Type

The Type for the displayed item.

listItem
Object

The data source item to be displayed in the ListControl.

Remarks

This class can be used to build a custom string to display in the ListControl from the data source item.

Applies to