New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class DescriptionTextListDataItem : RadListDataItem, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IDataItem

Inheritance: objectDisposableObjectRadObjectRadListDataItemDescriptionTextListDataItem

Implements: ICustomTypeDescriptorIDataItemIDisposableINotifyPropertyChanged

Inherited Members RadListDataItem.HeightPropertyRadListDataItem.ActivePropertyRadListDataItem.SelectedPropertyRadListDataItem.ValuePropertyRadListDataItem.dataLayerRadListDataItem.ownerElementRadListDataItem.OnPropertyChanged(RadPropertyChangedEventArgs)RadListDataItem.ToString()RadListDataItem.GetBoundValue()RadListDataItem.GetUnboundValue()RadListDataItem.SetUnboundValue(object)RadListDataItem.TagRadListDataItem.IsDataBoundRadListDataItem.OwnerControlRadListDataItem.HeightRadListDataItem.TextWrapRadListDataItem.RowIndexRadListDataItem.DisplayValueRadListDataItem.ValueRadListDataItem.ActiveRadListDataItem.SelectedRadListDataItem.EnabledRadListDataItem.TextRadListDataItem.ImageRadListDataItem.SvgImageRadListDataItem.TextImageRelationRadListDataItem.ImageAlignmentRadListDataItem.TextAlignmentRadListDataItem.TextOrientationRadListDataItem.FontRadListDataItem.ForeColorRadListDataItem.IsVisibleRadListDataItem.VisualItemRadListDataItem.MeasuredSizeRadListDataItem.IndexRadListDataItem.DataBoundItemRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadObject.DisposeManagedResources()RadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.GetValue(RadProperty)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.SetValueCore(RadPropertyValue, object, object, ValueSource)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.CanRaisePropertyChangeNotifications(RadPropertyValue)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.AddStylePropertySetting(IPropertySetting)RadObject.GetInheritedValue(RadProperty)RadObject.OnPropertyChanging(RadPropertyChangingEventArgs)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.IsPropertyCancelable(RadPropertyMetadata)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.OnBitStateChanged(long, bool, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.PerformDispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing...

Constructors

C#
public DescriptionTextListDataItem()
C#
public DescriptionTextListDataItem(string text, string descriptionText, object value)
Parameters:textstringdescriptionTextstringvalueobject
C#
public DescriptionTextListDataItem(string text, string descriptionText)
Parameters:textstringdescriptionTextstring

Fields

C#
public static RadProperty DescriptionFontProperty
C#
public static readonly RadProperty DescriptionTextProperty

Properties

Gets or sets the font for this RadListDataItem instance.

C#
[Browsable(true)]
public Font DescriptionFont { get; set; }
C#
public string DescriptionText { get; set; }

Gets a value representing the owner RadListElement of this data item.

C#
[Browsable(false)]
public override RadListElement Owner { get; }

Overrides: RadListDataItem.Owner

Methods

This method is used to assign the DataBoundItem property of this RadListDataItem. If a user attempts to set DataBoundItem while in bound mode, an exception should be thrown. In unbound mode this property can be set to any value and will not affect the behavior of this RadListDataItem.

C#
protected override void SetDataBoundItem(bool dataBinding, object value)
Parameters:dataBindingbool

A flag that indicates if the data bound item is being set from the data binding engine or by the user. true means it is being set by the data binding engine.

valueobject

The value that will be assigned to the DataBoundItem property.

Overrides: RadListDataItem.SetDataBoundItem(bool, object)