Bridges the bound data source to RadListDataItem instances for a ListDataLayer.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class ListControlListSource : RadListSource<RadListDataItem>, IList, ICollection, IEnumerable, ITypedList, ICancelAddNew, INotifyCollectionChanged, INotifyPropertyChanged, ICurrencyManagerProvider, IDisposable
Inheritance: objectRadListSource<RadListDataItem>ListControlListSource
Implements:
Inherited Members
Constructors
Initializes a source backed by the specified list data layer.
C#
public ListControlListSource(IDataItemSource owner)
The ListDataLayer that owns this source.
Exceptions: InvalidCastExceptionowner is not a ListDataLayer.
Properties
Methods
Assigns the bound record to the item and restores its selection during a source reset.
C#
protected override void InitializeBoundRow(RadListDataItem item, object dataBoundItem)
The item representing the bound record.
dataBoundItemobjectThe source record assigned to the item.
Overrides:
Rebuilds the source while marking the reset so previously selected items can be restored as rows are initialized.
C#
public override void Reset()
Overrides: