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

Represents a collection of item adapters for the Telerik controls.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

C#
public class AddItemAdapterCollection : Freezable, IEnumerable, INotifyCollectionChanged, IDisposable

Inheritance: objectAddItemAdapterCollection

Derived Classes: AddItemAdapter

Implements: IDisposableIEnumerableINotifyCollectionChanged

Constructors

Initializes a new instance of the AddItemAdapterCollection class.

C#
public AddItemAdapterCollection()

Fields

Identifies the AdditionalItemPosition dependency property.

C#
public static readonly DependencyProperty AdditionalItemPositionProperty

AdditionalItemProperty

DependencyProperty

Identifies the AdditionalItem dependency property.

C#
public static readonly DependencyProperty AdditionalItemProperty

SourceProperty

DependencyProperty

Identifies the Source dependency property.

C#
public static readonly DependencyProperty SourceProperty

Properties

Gets or sets the additional item.

C#
public object AdditionalItem { get; set; }

Gets or sets the position of additional item.

C#
public AdditionalItemPosition AdditionalItemPosition { get; set; }

Gets or sets the source collection that the AddItemAdapterCollection is bound to.

C#
public IEnumerable Source { get; set; }

Methods

Creates a new instance of the AddItemAdapterCollection class.

C#
protected override Freezable CreateInstanceCore()
Returns:

Freezable

Releases the resources used by the AddItemAdapterCollection. This method is called to free up unmanaged resources and perform cleanup tasks.

C#
public void Dispose()

Implements: IDisposable.Dispose()

Remarks:

Once this method has been called, the AddItemAdapterCollection instance should not be used. Ensure that all operations on this instance are completed before calling this method.

Disposes the resources used by the AddItemAdapterCollection.

C#
protected virtual void Dispose(bool disposing)
Parameters:disposingbool

Finalizes an instance of the AddItemAdapterCollection class.

C#
protected override void Finalize()

Returns an enumerator that iterates through the AddItemAdapterCollection.

C#
public IEnumerator GetEnumerator()
Returns:

IEnumerator

An enumerator that can be used to iterate through the collection.

Implements: IEnumerable.GetEnumerator()

Raises the CollectionChanged event with the specified arguments.

C#
protected virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters:eNotifyCollectionChangedEventArgs

Events

Occurs when the collection has changed, such as when items are added or removed.

C#
public event NotifyCollectionChangedEventHandler CollectionChanged

Implements: INotifyCollectionChanged.CollectionChanged