Class RadDataView<TDataItem>
Inherited Members
Namespace: Telerik.WinControls.Data
Assembly: Telerik.WinControls.dll
Syntax
public class RadDataView<TDataItem> : RadCollectionView<TDataItem>, ICollectionView<TDataItem>, IPagedCollectionView, IReadOnlyCollection<TDataItem>, IEnumerable<TDataItem>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged where TDataItem : IDataItem
Type Parameters
TDataItem
|
Constructors
RadDataView(IEnumerable<TDataItem>)
Declaration
public RadDataView(IEnumerable<TDataItem> collection)
Parameters
System.Collections.Generic.IEnumerable<TDataItem>
collection
|
Properties
CanFilter
Gets or sets a value indicating whether this data view can filter.
Declaration
public override bool CanFilter { get; set; }
Property Value
System.Boolean
|
Overrides
CanGroup
Gets or sets a value indicating whether this data view can group.
Declaration
public override bool CanGroup { get; set; }
Property Value
System.Boolean
|
Overrides
CanPage
Gets or sets a value indicating whether this data view can be paginated.
Declaration
public override bool CanPage { get; set; }
Property Value
System.Boolean
|
Overrides
CanSort
Gets or sets a value indicating whether this data view can sort.
Declaration
public override bool CanSort { get; set; }
Property Value
System.Boolean
|
Overrides
Comparer
Gets or sets the sort comparer.
Declaration
public override IComparer<TDataItem> Comparer { get; set; }
Property Value
System.Collections.Generic.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
System.Collections.Generic.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
ItemCount
Declaration
public override int ItemCount { get; }
Property Value
System.Int32
|
Overrides
Items
Declaration
protected override IList<TDataItem> Items { get; }
Property Value
System.Collections.Generic.IList<TDataItem>
|
Overrides
TotalPages
Declaration
public override int TotalPages { get; }
Property Value
System.Int32
|
Overrides
UseHybridIndex
Declaration
public bool UseHybridIndex { get; set; }
Property Value
System.Boolean
|
Methods
CreateGroupBuilder()
Declaration
protected virtual GroupBuilder<TDataItem> CreateGroupBuilder()
Returns
GroupBuilder<TDataItem>
|
CreateIndex()
EnsureDescriptors()
Declaration
public override void EnsureDescriptors()
Overrides
Find(Int32, Object)
Declaration
public override TDataItem Find(int itemIndex, object dataBoundItem)
Parameters
System.Int32
itemIndex
|
System.Object
dataBoundItem
|
Returns
TDataItem
|
Overrides
GetItemPage(TDataItem)
Declaration
public override int GetItemPage(TDataItem item)
Parameters
TDataItem
item
|
Returns
System.Int32
|
Overrides
IndexOf(TDataItem)
Declaration
public override int IndexOf(TDataItem item)
Parameters
TDataItem
item
|
Returns
System.Int32
|
Overrides
MoveToLastPage()
Sets the last page as the current page.
Declaration
public override bool MoveToLastPage()
Returns
System.Boolean
true if the operation was successful; otherwise, false. |
Overrides
OnNotifyPropertyChanged(PropertyChangedEventArgs)
Declaration
protected override void OnNotifyPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.ComponentModel.PropertyChangedEventArgs
e
|
Overrides
ProcessCollectionChanged(NotifyCollectionChangedEventArgs)
Declaration
protected override void ProcessCollectionChanged(NotifyCollectionChangedEventArgs args)
Parameters
NotifyCollectionChangedEventArgs
args
|
Overrides
RefreshOverride()
Declaration
protected override void RefreshOverride()