New to Telerik UI for WinFormsStart a free 30-day trial

Base interface for providers.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Type Parameters:

T

The type used to specialize the provider implementation.

Syntax:

C#
public interface ISchedulerProvider<T>

Derived Classes: BindingProviderBase<T>SchedulerBindingDataSource.EventBindingProviderSchedulerBindingDataSource.ResourceBindingProvider

Properties

Gets or sets a data store mapping to the provider.

C#
IMappingInfo Mapping { get; set; }

Methods

Removes the first occurrence of a specific item from the data store.

C#
void Delete(T itemToDelete)
Parameters:itemToDeleteT

The item of type T to delete.

Gets IEnumerable<T> for items that match the conditions defined by the specified predicate.

C#
IEnumerable<T> GetItems(Predicate<T> filterFunction)
Parameters:filterFunctionPredicate<T>

The Predicate<T> delegate that defines the conditions of the item to search for.

Returns:

IEnumerable<T>

IEnumerable<T> for items that match the conditions defined by the specified predicate, if found;

Inserts an item of type T.

C#
void Insert(T itemToInsert)
Parameters:itemToInsertT

The item of type T to insert.

Updates he first occurrence of a specific item in the data store.

C#
void Update(T itemToUpdate, string propertyName)
Parameters:itemToUpdateT

The item of type T to update.

propertyNamestring

Name of the property which value changed. Null or an empty string if all properties should be updated.

Events

The ItemsChanged event is raised by the provider to inform all listeners that the items in the data store have changed.

C#
event EventHandler<ListChangedEventArgs<T>> ItemsChanged