Definition
Namespace:Telerik.WinControls.Data
Assembly:Telerik.WinControls.dll
Type Parameters:
TDataItem
Syntax:
public class RadDataView<TDataItem> : RadCollectionView<TDataItem>, ICollectionView<TDataItem>, IPagedCollectionView, IReadOnlyCollection<TDataItem>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged where TDataItem : IDataItem
Inheritance: objectRadCollectionView<TDataItem>RadDataView<TDataItem>
Derived Classes:
Implements:
Inherited Members
Constructors
public RadDataView(IEnumerable<TDataItem> collection)
Properties
Gets or sets a value indicating whether this data view can filter.
public override bool CanFilter { get; set; }
true if this instance can filter; otherwise, false.
Overrides:
Gets or sets a value indicating whether this data view can group.
public override bool CanGroup { get; set; }
true if this instance can group; otherwise, false.
Overrides:
Gets or sets a value indicating whether this data view can be paginated.
public override bool CanPage { get; set; }
true if this data view can be paginated; otherwise, false.
Overrides:
Gets or sets a value indicating whether this data view can sort.
public override bool CanSort { get; set; }
true if this instance can sort; otherwise, false.
Overrides:
Comparer
IComparer<TDataItem>
Gets or sets the sort comparer.
public override IComparer<TDataItem> Comparer { get; set; }
The comparer.
Overrides:
DefaultGroupPredicate
GroupPredicate<TDataItem>
Gets the default group predicate.
public override GroupPredicate<TDataItem> DefaultGroupPredicate { get; }
The default group predicate.
Overrides:
GroupBuilder
GroupBuilder<TDataItem>
public GroupBuilder<TDataItem> GroupBuilder { get; }
GroupComparer
IComparer<Group<TDataItem>>
Gets or sets the group comparer.
public override IComparer<Group<TDataItem>> GroupComparer { get; set; }
The group comparer.
Overrides:
GroupPredicate
GroupPredicate<TDataItem>
Gets or sets the group predicate.
public override GroupPredicate<TDataItem> GroupPredicate { get; set; }
The group predicate.
Overrides:
Groups
GroupCollection<TDataItem>
Gets the groups.
public override GroupCollection<TDataItem> Groups { get; }
The groups.
Overrides:
Gets the total number of items in the source collection.
public override int ItemCount { get; }
The total number of items in the source collection, or -1 if the total number is unknown.
Overrides:
Items
IList<TDataItem>
protected override IList<TDataItem> Items { get; }
Overrides:
Gets the total number of pages with the current page size.
public override int TotalPages { get; }
Overrides:
public bool UseHybridIndex { get; set; }
Methods
public override void EnsureDescriptors()
Overrides:
Indexes the of.
public override int IndexOf(TDataItem item)
The item.
Returns:Overrides:
Sets the last page as the current page.
public override bool MoveToLastPage()
true if the operation was successful; otherwise, false.
Overrides:
Raises the NotifyPropertyChanged event
protected override void OnNotifyPropertyChanged(PropertyChangedEventArgs e)
Overrides:
protected override void ProcessCollectionChanged(NotifyCollectionChangedEventArgs args)
Overrides:
protected override void RefreshOverride()
Overrides: