New to Telerik UI for WinForms? Start a free 30-day trial

A collection, which supports serialization of the contained DockWindow instances.

Definition

Namespace:Telerik.WinControls.UI.Docking

Assembly:Telerik.WinControls.RadDock.dll

Syntax:

C#
public class DockWindowSerializableCollection : IList, ICollection, IEnumerable

Inheritance: objectDockWindowSerializableCollection

Implements: ICollectionIEnumerableIList

Constructors

Wraps the supplied list so changes through the collection and the list affect the same windows used for serialization.

C#
public DockWindowSerializableCollection(List<DockWindow> innerList)
Parameters:innerListList<DockWindow>

The list of windows exposed by this collection.

Properties

Gets the number of windows in the wrapped list.

C#
public int Count { get; }

Implements: ICollection.Count

Gets whether access to the wrapped list is synchronized.

C#
public bool IsSynchronized { get; }

Implements: ICollection.IsSynchronized

Gets the synchronization root provided by the wrapped list.

C#
public object SyncRoot { get; }

Implements: ICollection.SyncRoot

Gets the dock window at the specified index in the wrapped list.

C#
public DockWindow this[int index] { get; }
Parameters:indexint

The zero-based position of the window.

Property Value:

The window at index.

Methods

Adds a window to the wrapped list used by the serialized layout.

C#
public void Add(DockWindow item)
Parameters:itemDockWindow

The window to add.

Removes all windows from the wrapped list.

C#
public void Clear()

Implements: IList.Clear()

Copies the wrapped windows into a DockWindow array starting at the specified index.

C#
public void CopyTo(Array array, int index)
Parameters:arrayArray

The destination array.

indexint

The zero-based destination index.

Implements: ICollection.CopyTo(Array, int)

Copies the windows into an array of DockWindow instances starting at the specified index.

C#
public void CopyTo(DockWindow[] array, int arrayIndex)
Parameters:arrayDockWindow[]

The destination array.

arrayIndexint

The zero-based destination index.

Returns an enumerator over the windows in the wrapped list.

C#
public IEnumerator GetEnumerator()
Returns:

IEnumerator

Removes a window from the wrapped list.

C#
public bool Remove(DockWindow item)
Parameters:itemDockWindow

The window to remove.

Returns:

bool

true if the window was removed; otherwise, false.