WindowCollection Class

 

Represents a collection of Window objects. This class cannot be inherited.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

System.Object
  System.Windows.WindowCollection

public sealed class WindowCollection : ICollection, IEnumerable

NameDescription
System_CAPS_pubmethodWindowCollection()

Initializes a new instance of the WindowCollection class.

NameDescription
System_CAPS_pubpropertyCount

Gets the number of Window objects contained in the WindowCollection.

System_CAPS_pubpropertyIsSynchronized

Gets a value indicating whether the WindowCollection object is thread safe.

System_CAPS_pubpropertyItem[Int32]

Gets the Window or NavigationWindow object at the specified index.

System_CAPS_pubpropertySyncRoot

Gets an object that can be used to synchronize access to the collection.

NameDescription
System_CAPS_pubmethodCopyTo(Window[], Int32)

Copies each Window object in the collection to an array, starting from the specified index.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns an IEnumerator that you can use to enumerate the Window objects in the collection.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection.CopyTo(Array, Int32)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see ICollection.CopyTo.

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

.NET Framework
Available since 3.0
Silverlight
Available since 5.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: