New to Telerik UI for WPF? Start a free 30-day trial

Represents a single item within a structured document list, providing properties and methods to manage the contents and formatting of the list item.

Definition

Namespace:Telerik.Windows.Documents.Model.StructuredDocumentTags

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class ListItem

Inheritance: objectListItem

Constructors

C#
public ListItem()

Properties

Gets the display text of the list item.

C#
[XamlSerializable]
public string DisplayText { get; set; }
Property Value:

A string representing the text content of the list item.

Gets or sets the value of the list item, which represents its content.

C#
[XamlSerializable]
public string Value { get; set; }
Property Value:

The content of the list item as a string.