Class
DockWindowCollection

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

Definition

Namespace:Telerik.WinControls.UI.Docking

Assembly:Telerik.WinControls.RadDock.dll

Syntax:

cs-api-definition
public class DockWindowCollection : ICollection, IEnumerable

Inheritance: objectDockWindowCollection

Implements: ICollectionIEnumerable

Properties

Count

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

Declaration

cs-api-definition
public int Count { get; }

Property Value

int

Implements ICollection.Count

DocumentWindows

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

Declaration

cs-api-definition
public DockWindow[] DocumentWindows { get; }

Property Value

DockWindow[]

ToolWindows

Gets all the ToolWindow instances available.

Declaration

cs-api-definition
public DockWindow[] ToolWindows { get; }

Property Value

DockWindow[]

this[int]

Gets the DockWindow instance at the specified index.

Declaration

cs-api-definition
public DockWindow this[int index] { get; }

Parameters

index

int

Property Value

DockWindow

this[string]

Gets the DockWindow instances that matches the specified name.

Declaration

cs-api-definition
public DockWindow this[string name] { get; }

Parameters

name

string

Property Value

DockWindow

Methods

CopyTo(Array, int)

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

Declaration

cs-api-definition
public void CopyTo(Array array, int index)

Parameters

array

Array

index

int

Implements ICollection.CopyTo(Array, int)

GetEnumerator()

Declaration

cs-api-definition
public IEnumerator GetEnumerator()

Returns

IEnumerator

Implements IEnumerable.GetEnumerator()

GetWindows(DockState)

Gets all DockWindow instances that has the specified DockState.

Declaration

cs-api-definition
public DockWindow[] GetWindows(DockState state)

Parameters

state

DockState

Returns

DockWindow[]

GetWindows(Predicate<DockWindow>)

Gets all the DockWindow instances that match the specified predicate.

Declaration

cs-api-definition
public DockWindow[] GetWindows(Predicate<DockWindow> predicate)

Parameters

predicate

Predicate<DockWindow>

Returns

DockWindow[]