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

A collection that stores all DockWindow instances available per RadDock basis.

Definition

Namespace:Telerik.WinControls.UI.Docking

Assembly:Telerik.WinControls.RadDock.dll

Syntax:

C#
public class DockWindowCollection : ICollection, IEnumerable

Inheritance: objectDockWindowCollection

Implements: ICollectionIEnumerable

Properties

Gest the number of DockWindow instances registered with the owning RadDock.

C#
public int Count { get; }

Implements: ICollection.Count

Gets all the DocumentWindow instances available. This will not include ToolWindow instances that are currently TabbedDocuments.

C#
public DockWindow[] DocumentWindows { get; }

Gets the DockWindow instance at the specified index.

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

Gets the DockWindow instances that matches the specified name.

C#
public DockWindow this[string name] { get; }
Parameters:namestring

Gets all the ToolWindow instances available.

C#
public DockWindow[] ToolWindows { get; }

Methods

Copies the collection to the destination Array, starting from the specified index.

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

Implements: ICollection.CopyTo(Array, int)

C#
public IEnumerator GetEnumerator()
Returns:

IEnumerator

Implements: IEnumerable.GetEnumerator()

Gets all DockWindow instances that has the specified DockState.

C#
public DockWindow[] GetWindows(DockState state)
Parameters:stateDockStateReturns:

DockWindow[]

Gets all the DockWindow instances that match the specified predicate.

C#
public DockWindow[] GetWindows(Predicate<DockWindow> predicate)
Parameters:predicatePredicate<DockWindow>Returns:

DockWindow[]