ClassRadItemOwnerCollection
A collection that stores RadItem objects and manages their ownership relationships with a parent RadElement.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class RadItemOwnerCollection : RadItemCollection, IList, ICollection, IEnumerable
Inheritance: objectCollectionBaseRadItemCollectionRadItemOwnerCollection
Derived Classes:
Implements:
Inherited Members
Constructors
RadItemOwnerCollection()
Initializes a new instance of the RadItemOwnerCollection class.
Declaration
public RadItemOwnerCollection()
RadItemOwnerCollection(RadElement)
Initializes a new instance of the RadItemOwnerCollection class with the specified owner.
Declaration
public RadItemOwnerCollection(RadElement owner)
Parameters
owner
The RadElement that will own items in this collection.
RadItemOwnerCollection(RadItemOwnerCollection)
Initializes a new instance of the RadItemOwnerCollection class based on another collection.
Declaration
public RadItemOwnerCollection(RadItemOwnerCollection value)
Parameters
value
A RadItemOwnerCollection from which the contents are copied.
RadItemOwnerCollection(RadItem[])
Initializes a new instance of the RadItemOwnerCollection class containing an array of RadItem objects.
Declaration
public RadItemOwnerCollection(RadItem[] value)
Parameters
value
RadItem[]
An array of RadItem objects with which to initialize the collection.
Properties
Owner
Gets or sets the owner of the collection.
Declaration
public RadElement Owner { get; set; }
Property Value
The RadElement that owns items in this collection.
Remarks
When the owner changes, the collection automatically removes all items from the previous owner's children collection and adds them to the new owner's children collection to maintain consistency.
Methods
OnClear()
Declaration
protected override void OnClear()
Overrides
OnItemsChanged(RadItem, ItemsChangeOperation)
Declaration
protected override void OnItemsChanged(RadItem target, ItemsChangeOperation operation)
Parameters
target
operation
Overrides
OnSortComplete()
Declaration
protected override void OnSortComplete()
Overrides