skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class QueryableDataServiceCollectionViewBase

Represents a view for accessing and manipulating a DataServiceContext.

Inheritance
System.Object
QueryableCollectionView
QueryableDataServiceCollectionViewBase
QueryableDataServiceCollectionView<TEntity>
Inherited Members
QueryableCollectionView.AddNew()
QueryableCollectionView.AddNewItem(Object)
QueryableCollectionView.AddNew(Object)
QueryableCollectionView.CommitNew()
QueryableCollectionView.CancelNew()
QueryableCollectionView.EditItem(Object)
QueryableCollectionView.CommitEdit()
QueryableCollectionView.CancelEdit()
QueryableCollectionView.Remove(Object)
QueryableCollectionView.RemoveAt(Int32)
QueryableCollectionView.ConstructNewItem()
QueryableCollectionView.RaisePageChanged()
QueryableCollectionView.MoveToFirstPage()
QueryableCollectionView.MoveToLastPage()
QueryableCollectionView.MoveToNextPage()
QueryableCollectionView.MoveToPage(Int32)
QueryableCollectionView.MoveToPreviousPage()
QueryableCollectionView.UpdateItemCount()
QueryableCollectionView.GetEffectiveItemCount()
QueryableCollectionView.GetPagingDeterminativeItemCount()
QueryableCollectionView.InvalidatePagingDeterminativeItemCount()
QueryableCollectionView.DeferRefresh()
QueryableCollectionView.MoveCurrentTo(Object)
QueryableCollectionView.MoveCurrentToFirst()
QueryableCollectionView.MoveCurrentToLast()
QueryableCollectionView.MoveCurrentToNext()
QueryableCollectionView.MoveCurrentToPosition(Int32)
QueryableCollectionView.MoveCurrentToPrevious()
QueryableCollectionView.OnCurrentChanged(EventArgs)
QueryableCollectionView.OnCurrentChanging(CurrentChangingEventArgs)
QueryableCollectionView.OnCurrentChanging()
QueryableCollectionView.SetCurrentPosition(Int32)
QueryableCollectionView.SetCurrent(Object, Int32)
QueryableCollectionView.InitializeCurrentItem()
QueryableCollectionView.Contains(Object)
QueryableCollectionView.Refresh()
QueryableCollectionView.GetEnumerator()
QueryableCollectionView.InvalidatePagingAndRefresh()
QueryableCollectionView.OnSortDescriptorsItemChanged(Object, ItemChangedEventArgs<ISortDescriptor>)
QueryableCollectionView.OnSortDescriptorsCollectionChanged(Object, NotifyCollectionChangedEventArgs)
QueryableCollectionView.OnGroupDescriptorsItemChanged(Object, ItemChangedEventArgs<IGroupDescriptor>)
QueryableCollectionView.OnGroupDescriptorsCollectionChanged(Object, NotifyCollectionChangedEventArgs)
QueryableCollectionView.OnFilterDescriptorsItemChanged(Object, ItemChangedEventArgs<IFilterDescriptor>)
QueryableCollectionView.OnFilterDescriptorsCollectionChanged(Object, NotifyCollectionChangedEventArgs)
QueryableCollectionView.OnFilterDescriptorsChanged()
QueryableCollectionView.OnFilterDescriptorsLogicalOperatorChanged()
QueryableCollectionView.CreateView()
QueryableCollectionView.ApplySelectDescriptors(IQueryable)
QueryableCollectionView.Sort(IQueryable)
QueryableCollectionView.SetInternalList(IList)
QueryableCollectionView.GetInternalList()
QueryableCollectionView.InitializeInternalList(IQueryable)
QueryableCollectionView.CreateInternalList()
QueryableCollectionView.PopulateInternalList(IQueryable)
QueryableCollectionView.OnInternalListCreated()
QueryableCollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs)
QueryableCollectionView.RefreshOverrideCore()
QueryableCollectionView.RefreshOverride()
QueryableCollectionView.InitializeCurrencyOnRefresh(QueryableCollectionView.CurrencyRefreshInfo)
QueryableCollectionView.RefreshGroupsOnItemAction(Object, ItemAction)
QueryableCollectionView.RefreshOnItemAction(Object, ItemAction)
QueryableCollectionView.RefreshOnItemActionWithoutPaging(Object, ItemAction)
QueryableCollectionView.OnPropertyChanged(String)
QueryableCollectionView.UpdateTotalItemCount()
QueryableCollectionView.IndexOf(Object)
QueryableCollectionView.GetItemAt(Int32)
QueryableCollectionView.Dispose()
QueryableCollectionView.Dispose(Boolean)
QueryableCollectionView.CanAddNew
QueryableCollectionView.ShouldRespectIEditableObject
QueryableCollectionView.CanAddNewItem
QueryableCollectionView.CurrentAddItem
QueryableCollectionView.CanRemove
QueryableCollectionView.CanCancelEdit
QueryableCollectionView.CurrentEditItem
QueryableCollectionView.IsAddingNew
QueryableCollectionView.IsEditingItem
QueryableCollectionView.NewItemPlaceholderPosition
QueryableCollectionView.IsPageChanging
QueryableCollectionView.PageIndex
QueryableCollectionView.PageSize
QueryableCollectionView.ShouldRefreshOrDeferOnPageSizeChange
QueryableCollectionView.IsPaged
QueryableCollectionView.Count
QueryableCollectionView.InternalCount
QueryableCollectionView.TotalItemCount
QueryableCollectionView.ItemCount
QueryableCollectionView.CurrentPosition
QueryableCollectionView.IsCurrentAfterLast
QueryableCollectionView.IsCurrentBeforeFirst
QueryableCollectionView.CurrentItem
QueryableCollectionView.PendingCurrencyRefresh
QueryableCollectionView.NeedsRefresh
QueryableCollectionView.SourceCollection
QueryableCollectionView.QueryableSourceCollection
QueryableCollectionView.CanFilter
QueryableCollectionView.CanGroup
QueryableCollectionView.CanSort
QueryableCollectionView.Culture
QueryableCollectionView.Groups
QueryableCollectionView.Item[Int32]
QueryableCollectionView.IsEmpty
QueryableCollectionView.SortDescriptors
QueryableCollectionView.FilterDescriptors
QueryableCollectionView.GroupDescriptors
QueryableCollectionView.ItemType
QueryableCollectionView.InternalList
QueryableCollectionView.IsGrouped
QueryableCollectionView.ShouldInitializeGroupProxy
QueryableCollectionView.Filter
QueryableCollectionView.SortDescriptions
QueryableCollectionView.GroupDescriptions
QueryableCollectionView.ItemProperties
QueryableCollectionView.ItemPropertiesByPropertyName
QueryableCollectionView.PageChanged
QueryableCollectionView.PageChanging
QueryableCollectionView.CollectionChanged
QueryableCollectionView.CurrentChanged
QueryableCollectionView.CurrentChanging
QueryableCollectionView.PropertyChanged
QueryableCollectionView.GroupCollectionChanged
Namespace: Telerik.Windows.Controls.DataServices
Assembly: Telerik.Windows.Controls.DataServices.dll

Syntax

public abstract class QueryableDataServiceCollectionViewBase : QueryableCollectionView, IEditableCollectionView, IEditableCollectionViewAddNewItem, ICollectionView, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged, IPagedCollectionView, IWeakEventListener<NotifyCollectionChangedEventArgs>, IWeakEventListener<CurrentChangingEventArgs>, IQueryableCollectionView, IItemProperties, IDisposable

Constructors

QueryableDataServiceCollectionViewBase(DataServiceContext, IEnumerable)

Initializes a new instance of the QueryableDataServiceCollectionViewBase class.

Declaration
protected QueryableDataServiceCollectionViewBase(DataServiceContext dataServiceContext, IEnumerable sourceCollection)
Parameters
Microsoft.OData.Client.DataServiceContext dataServiceContext

The data service context.

System.Collections.IEnumerable sourceCollection

The source collection.

Properties

AutoLoad

Gets or sets a value indicating whether Load is automatically invoked when a change occurs that impacts the query.

Declaration
public bool AutoLoad { get; set; }
Property Value
System.Boolean

true if Load will automatically be invoked when a change occurs that impacts the query; otherwise, false.

CanChangePage

Completes move to page operation. Raises PageChanged event and refreshes the data view.

Declaration
public override bool CanChangePage { get; }
Property Value
System.Boolean

Overrides
QueryableCollectionView.CanChangePage

CanLoad

Gets a value indicating whether a load operation could be performed based on the present state.

Declaration
public bool CanLoad { get; }
Property Value
System.Boolean

true if this instance can load; otherwise, false.

DataServiceContext

Gets or sets the DataServiceContext instance used for executing the load and submit operations.

Declaration
public DataServiceContext DataServiceContext { get; }
Property Value
Microsoft.OData.Client.DataServiceContext

Expand

Gets or sets the expand option.

Declaration
public string Expand { get; set; }
Property Value
System.String

The expand option.

Remarks

For more information, please visit .

HasChanges

Gets a value indicating whether this collection has changes.

Declaration
public bool HasChanges { get; protected set; }
Property Value
System.Boolean

true if this instance has changes; otherwise, false.

IsBusy

Gets a value indicating whether this collection is loading or submitting data.

Declaration
public bool IsBusy { get; }
Property Value
System.Boolean

true if this collection is loading or submitting; otherwise, false.

IsLoading

Gets a value that indicates whether this collection is currently performing a Load operation.

Declaration
public override bool IsLoading { get; protected set; }
Property Value
System.Boolean

true if the collection is currently performing a Load operation; otherwise, false.

Overrides
QueryableCollectionView.IsLoading

IsSubmittingChanges

Gets a value indicating whether the collection is currently performing a Submit operation.

Declaration
public bool IsSubmittingChanges { get; protected set; }
Property Value
System.Boolean

true if the collection is currently performing a Submit operation; otherwise, false.

Methods

CancelLoad()

Cancels the current data loading operation, if any.

Declaration
public void CancelLoad()

CancelSubmit()

Cancels the current submit operation if any.

Declaration
public void CancelSubmit()

CompletePageMove(Int32)

Completes the page move.

Declaration
protected override void CompletePageMove(int newPageIndex)
Parameters
System.Int32 newPageIndex

The index of the new page.

Overrides
QueryableCollectionView.CompletePageMove(Int32)

Load()

Initiates a Load operation if possible.

Declaration
public void Load()

Load(Boolean)

Initiates a Load operation if possible.

Declaration
public void Load(bool forceLoad)
Parameters
System.Boolean forceLoad

true if load should be performed even if the new entity query is the same as the last successfully load one; otherwise, false.

MoveToPageCore(Int32)

Requests a page move to the page at the specified index.

Declaration
protected override bool MoveToPageCore(int index)
Parameters
System.Int32 index

The index of the page to move to.

Returns
System.Boolean

true if the move was successfully initiated; otherwise, false.

Overrides
QueryableCollectionView.MoveToPageCore(Int32)

OnLoadedData(LoadedDataEventArgs)

Raises the LoadedData event.

Declaration
protected virtual void OnLoadedData(LoadedDataEventArgs args)
Parameters
LoadedDataEventArgs args

The LoadedDataEventArgs instance containing the event data.

OnLoadingData(LoadingDataEventArgs)

Raises the LoadingData event.

Declaration
protected virtual void OnLoadingData(LoadingDataEventArgs args)
Parameters
LoadingDataEventArgs args

The LoadingDataEventArgs instance containing the event data.

OnPropertyChanged(PropertyChangedEventArgs)

Raises the PropertyChanged event.

Declaration
protected override void OnPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.ComponentModel.PropertyChangedEventArgs e

The System.ComponentModel.PropertyChangedEventArgs instance containing the event data.

Overrides
QueryableCollectionView.OnPropertyChanged(PropertyChangedEventArgs)

OnRefresh()

Invoked when the instance should be refreshed.

Declaration
protected override void OnRefresh()
Overrides
QueryableCollectionView.OnRefresh()

OnSubmittedChanges(DataServiceSubmittedChangesEventArgs)

Raises SubmittedChanges event.

Declaration
protected virtual void OnSubmittedChanges(DataServiceSubmittedChangesEventArgs submittedEventArgs)
Parameters
DataServiceSubmittedChangesEventArgs submittedEventArgs

The DataServiceSubmittedChangesEventArgs instance containing the event data.

OnSubmittingChanges(DataServiceSubmittingChangesEventArgs)

Raises SubmittingChanges event.

Declaration
protected virtual void OnSubmittingChanges(DataServiceSubmittingChangesEventArgs args)
Parameters
DataServiceSubmittingChangesEventArgs args

The DataServiceSubmittingChangesEventArgs instance containing the event data.

RejectChanges()

Rejects all changes.

Declaration
public void RejectChanges()

SubmitChanges()

Initiates a Submit operation if possible.

Declaration
public void SubmitChanges()

Events

LoadedData

Occurs when a data loading operation is completed.

Declaration
public event EventHandler<LoadedDataEventArgs> LoadedData
Event Type
System.EventHandler<LoadedDataEventArgs>

LoadingData

Occurs when a data loading operation is started.

Declaration
public event EventHandler<LoadingDataEventArgs> LoadingData
Event Type
System.EventHandler<LoadingDataEventArgs>

SubmittedChanges

Event raised whenever a submit operation is completed.

Declaration
public event EventHandler<DataServiceSubmittedChangesEventArgs> SubmittedChanges
Event Type
System.EventHandler<DataServiceSubmittedChangesEventArgs>

SubmittingChanges

Event raised whenever a submit operation is launched.

Declaration
public event EventHandler<DataServiceSubmittingChangesEventArgs> SubmittingChanges
Event Type
System.EventHandler<DataServiceSubmittingChangesEventArgs>

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.