skip navigation
  • Product Bundles

    DevCraft

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

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact 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 Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free 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 RadItemOwnerCollection

A collection that stores RadItem objects and manages their ownership relationships with a parent RadElement.

Inheritance
System.Object
System.Collections.CollectionBase
RadItemCollection
RadItemOwnerCollection
DataFilterItemOwnerCollection
GridGroupHeaderListsCollection
RadItemOwnerGenericCollection<T>
RadRibbonBarCommandTabCollection
Inherited Members
RadItemCollection.OnValidate(Object)
RadItemCollection.SuspendNotifications()
RadItemCollection.ResumeNotifications()
RadItemCollection.IEnumerable<RadItem>.GetEnumerator()
RadItemCollection.GetEnumerator()
RadItemCollection.OnRemove(Int32, Object)
RadItemCollection.OnSet(Int32, Object, Object)
RadItemCollection.OnClearComplete()
RadItemCollection.OnSort()
RadItemCollection.Add(RadItem)
RadItemCollection.AddRange(RadItem[])
RadItemCollection.AddRange(RadItemCollection)
RadItemCollection.Insert(Int32, RadItem)
RadItemCollection.Remove(RadItem)
RadItemCollection.Sort()
RadItemCollection.Sort(IComparer)
RadItemCollection.Sort(Int32, Int32, IComparer)
RadItemCollection.Contains(RadItem)
RadItemCollection.IndexOf(RadItem)
RadItemCollection.CopyTo(RadItem[], Int32)
RadItemCollection.ToArray()
RadItemCollection.ItemTypes
RadItemCollection.ExcludedTypes
RadItemCollection.SealedTypes
RadItemCollection.DefaultType
RadItemCollection.Item[Int32]
RadItemCollection.First
RadItemCollection.Last
RadItemCollection.Item[String]
RadItemCollection.ItemsChanged
System.Collections.CollectionBase.Clear()
System.Collections.CollectionBase.RemoveAt(System.Int32)
System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)
System.Collections.CollectionBase.InnerList
System.Collections.CollectionBase.List
System.Collections.CollectionBase.Capacity
System.Collections.CollectionBase.Count
System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll

Syntax

public class RadItemOwnerCollection : RadItemCollection, IList, ICollection, IEnumerable<RadItem>, IEnumerable
Remarks

This collection automatically synchronizes items with the owner's children collection, ensuring that items added to this collection are also properly parented to the owner element. It handles owner change scenarios and maintains consistency between the collection and element hierarchy.

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
RadElement owner

The RadElement that will own items in this collection.

RadItemOwnerCollection(RadItem[])

Initializes a new instance of the RadItemOwnerCollection class containing an array of RadItem objects.

Declaration
public RadItemOwnerCollection(RadItem[] value)
Parameters
RadItem[] value

An array of RadItem objects with which to initialize the collection.

RadItemOwnerCollection(RadItemOwnerCollection)

Initializes a new instance of the RadItemOwnerCollection class based on another collection.

Declaration
public RadItemOwnerCollection(RadItemOwnerCollection value)
Parameters
RadItemOwnerCollection value

A RadItemOwnerCollection from which the contents are copied.

Properties

Owner

Gets or sets the owner of the collection.

Declaration
public RadElement Owner { get; set; }
Property Value
RadElement

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
RadItemCollection.OnClear()

OnInsertComplete(Int32, Object)

Declaration
protected override void OnInsertComplete(int index, object value)
Parameters
System.Int32 index

System.Object value

Overrides
RadItemCollection.OnInsertComplete(Int32, Object)

OnItemsChanged(RadItem, ItemsChangeOperation)

Declaration
protected override void OnItemsChanged(RadItem target, ItemsChangeOperation operation)
Parameters
RadItem target

ItemsChangeOperation operation

Overrides
RadItemCollection.OnItemsChanged(RadItem, ItemsChangeOperation)

OnRemoveComplete(Int32, Object)

Declaration
protected override void OnRemoveComplete(int index, object value)
Parameters
System.Int32 index

System.Object value

Overrides
RadItemCollection.OnRemoveComplete(Int32, Object)

OnSetComplete(Int32, Object, Object)

Declaration
protected override void OnSetComplete(int index, object oldValue, object newValue)
Parameters
System.Int32 index

System.Object oldValue

System.Object newValue

Overrides
RadItemCollection.OnSetComplete(Int32, Object, Object)

OnSortComplete()

Declaration
protected override void OnSortComplete()
Overrides
RadItemCollection.OnSortComplete()

Extension Methods

CommonExtensions.ContainsAny<T>(IEnumerable<T>, IEnumerable<T>)
CommonExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
CommonExtensions.Clone<T>(IEnumerable<T>)
ExtensionMethodsEditor.CastCovariant<TFrom, TTo>(IEnumerable<TFrom>)
SvgExtentions.Traverse<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • 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.