Show / Hide Table of Contents

Class WindowCollection

Represents a collection of Window instances.

Inheritance
System.Object
WindowCollection
Implements
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows
Assembly: OpenSilver.dll
Syntax
public sealed class WindowCollection : ICollection, IEnumerable

Properties

| Improve this Doc View Source

Count

Gets the number of windows in the collection.

Declaration
public int Count { get; }
Property Value
Type Description
System.Int32

The number of windows in the collection.

| Improve this Doc View Source

IsSynchronized

Gets a value that indicates whether access to the collection is synchronized (thread safe).

Declaration
public bool IsSynchronized { get; }
Property Value
Type Description
System.Boolean

Always returns false.

| Improve this Doc View Source

SyncRoot

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

Declaration
public object SyncRoot { get; }
Property Value
Type Description
System.Object

An object that can be used to synchronize access to the WindowCollection.

Methods

| Improve this Doc View Source

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration
public IEnumerator GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

An enumerator for the collection.

Explicit Interface Implementations

| Improve this Doc View Source

ICollection.CopyTo(Array, Int32)

Declaration
void ICollection.CopyTo(Array array, int index)
Parameters
Type Name Description
System.Array array
System.Int32 index

Implements

System.Collections.ICollection
System.Collections.IEnumerable
  • Improve this Doc
  • View Source