System.Windows.Forms.ListViewItem.Text Property

Gets or sets the text of the item.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Localizable(true)]
public string Text { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The ListViewItem.Text property allows you to change the text displayed for the item. The text of the System.Windows.Forms.ListViewItem should not exceed 259 characters or unexpected behavior could occur.

You can use the ListViewItem.BackColor, ListViewItem.ForeColor, and ListViewItem.Font properties to specify how the text is displayed. The System.Windows.Forms.ListView class provides the ListView.LabelWrap property that determines whether text wraps to the next line or is displayed on a single line.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0