ClassRadDataView<TDataItem>
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
RadDataView(IEnumerable<TDataItem>)
Declaration
public RadDataView(IEnumerable<TDataItem> collection)
Parameters
collection
IEnumerable<TDataItem>
Properties
CanFilter
Gets or sets a value indicating whether this data view can filter.
Declaration
public override bool CanFilter { get; set; }
Property Value
true if this instance can filter; otherwise, false.
Overrides
CanGroup
Gets or sets a value indicating whether this data view can group.
Declaration
public override bool CanGroup { get; set; }
Property Value
true if this instance can group; otherwise, false.
Overrides
CanPage
Gets or sets a value indicating whether this data view can be paginated.
Declaration
public override bool CanPage { get; set; }
Property Value
true if this data view can be paginated; otherwise, false.
Overrides
CanSort
Gets or sets a value indicating whether this data view can sort.
Declaration
public override bool CanSort { get; set; }
Property Value
true if this instance can sort; otherwise, false.
Overrides
Comparer
Gets or sets the sort comparer.
Declaration
public override IComparer<TDataItem> Comparer { get; set; }
Property Value
IComparer<TDataItem>
The comparer.
Overrides
DefaultGroupPredicate
Gets the default group predicate.
Declaration
public override GroupPredicate<TDataItem> DefaultGroupPredicate { get; }
Property Value
GroupPredicate<TDataItem>
The default group predicate.
Overrides
GroupBuilder
Declaration
public GroupBuilder<TDataItem> GroupBuilder { get; }
Property Value
GroupBuilder<TDataItem>
GroupComparer
Gets or sets the group comparer.
Declaration
public override IComparer<Group<TDataItem>> GroupComparer { get; set; }
Property Value
IComparer<Group<TDataItem>>
The group comparer.
Overrides
GroupPredicate
Gets or sets the group predicate.
Declaration
public override GroupPredicate<TDataItem> GroupPredicate { get; set; }
Property Value
GroupPredicate<TDataItem>
The group predicate.
Overrides
Groups
Gets the groups.
Declaration
public override GroupCollection<TDataItem> Groups { get; }
Property Value
GroupCollection<TDataItem>
The groups.
Overrides
Indexer
Declaration
public Index<TDataItem> Indexer { get; }
Property Value
Index<TDataItem>
ItemCount
Gets the total number of items in the source collection.
Declaration
public override int ItemCount { get; }
Property Value
The total number of items in the source collection, or -1 if the total number is unknown.
Overrides
Items
Declaration
protected override IList<TDataItem> Items { get; }
Property Value
IList<TDataItem>
Overrides
TotalPages
Gets the total number of pages with the current page size.
Methods
CreateGroupBuilder()
Declaration
protected virtual GroupBuilder<TDataItem> CreateGroupBuilder()
Returns
GroupBuilder<TDataItem>
CreateIndex()
Declaration
protected virtual Index<TDataItem> CreateIndex()
Returns
Index<TDataItem>
EnsureDescriptors()
Declaration
public override void EnsureDescriptors()
Overrides
Find(int, object)
Finds the specified item index.
GetItemPage(TDataItem)
Declaration
public override int GetItemPage(TDataItem item)
Parameters
item
TDataItem
Returns
Overrides
IndexOf(TDataItem)
Indexes the of.
Declaration
public override int IndexOf(TDataItem item)
Parameters
item
TDataItem
The item.
Returns
Overrides
MoveToLastPage()
Sets the last page as the current page.
Declaration
public override bool MoveToLastPage()
Returns
true if the operation was successful; otherwise, false.
Overrides
OnNotifyPropertyChanged(PropertyChangedEventArgs)
Raises the NotifyPropertyChanged event
Declaration
protected override void OnNotifyPropertyChanged(PropertyChangedEventArgs e)
Parameters
e
Overrides
ProcessCollectionChanged(NotifyCollectionChangedEventArgs)
Declaration
protected override void ProcessCollectionChanged(NotifyCollectionChangedEventArgs args)
Parameters
args
Overrides
RefreshOverride()
Declaration
protected override void RefreshOverride()
Overrides