Represents a list item with a secondary description line in addition to its main text.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class DescriptionTextListDataItem : RadListDataItem, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IDataItem
Inheritance: objectDisposableObjectRadObjectRadListDataItemDescriptionTextListDataItem
Implements:
Inherited Members
Constructors
Initializes an item with an empty main text and description.
public DescriptionTextListDataItem()
Initializes an item with main text, secondary description text, and an unbound value.
Fields
Identifies the inheritable font used for the item's description text.
public static RadProperty DescriptionFontProperty
Identifies the secondary text displayed for this item.
public static readonly RadProperty DescriptionTextProperty
Properties
Gets or sets the font for this RadListDataItem instance.
[Browsable(true)]
public Font DescriptionFont { get; set; }
Gets or sets the secondary text rendered below the item's main text.
public string DescriptionText { get; set; }
When a bound data object is assigned, SetDataBoundItem(bool, object) populates this property from the data layer, using DescriptionTextMember when configured.
Gets the owning list element. Attaching this item marks the element as using description-text layout.
[Browsable(false)]
public override RadListElement Owner { get; }
Overrides:
Methods
Assigns the underlying data object and initializes this item's description from the configured bound description value.