DockingWindowCollectionBase<T> Class
Represents the base class for an observable collection of DockingWindow objects.
public class DockingWindowCollectionBase<T> : DeferrableObservableCollection<T> where T : DockingWindow
- Type Parameters:
-
T-The type of DockingWindow in this collection.
- Inheritance:
- object Collection<T> ObservableCollection<T> DeferrableObservableCollection<T> object
Constructors
DockingWindowCollectionBase()
Initializes an instance of the class.
public DockingWindowCollectionBase()
Properties
this[Guid]
Gets the item with the specified UniqueId value.
[C#] In C#, this property is the indexer for the collection.
public T this[Guid uniqueId] { get; }
| Parameter | Type | Description |
|---|---|---|
| uniqueId | Guid | The unique ID value to locate in the collection. |
Property Value
- T:
The item with the specified
UniqueIdvalue.
this[string]
Gets the item with the specified Name value.
[C#] In C#, this property is the indexer for the collection.
public T this[string name] { get; }
| Parameter | Type | Description |
|---|---|---|
| name | string | The name value to locate in the collection. |
Property Value
- T:
The item with the specified
Namevalue.
Methods
Contains(Guid)
Determines whether an item with the specified UniqueId value is in the collection.
public bool Contains(Guid uniqueId)
| Parameter | Type | Description |
|---|---|---|
| uniqueId | Guid | The unique ID value to locate in the collection. |
Returns
- bool:
trueif an item with the specifiedUniqueIdvalue is found in the collection; otherwise,false.
Contains(string)
Determines whether an item with the specified Name value is in the collection.
public bool Contains(string name)
| Parameter | Type | Description |
|---|---|---|
| name | string | The name value to locate in the collection. |
Returns
- bool:
trueif an item with the specifiedNamevalue is found in the collection; otherwise,false.
IndexOf(Guid)
Searches for an item with the specified UniqueId value and
returns the zero-based index of the first occurrence within the entire collection.
public int IndexOf(Guid uniqueId)
| Parameter | Type | Description |
|---|---|---|
| uniqueId | Guid | The unique ID value to locate in the collection. |
Returns
- int:
The zero-based index of the first occurrence of an item with the specified
UniqueIdvalue within the entire collection, if found; otherwise,-1.
IndexOf(string)
Searches for an item with the specified Name value and
returns the zero-based index of the first occurrence within the entire collection.
public int IndexOf(string name)
| Parameter | Type | Description |
|---|---|---|
| name | string | The name value to locate in the collection. |
Returns
- int:
The zero-based index of the first occurrence of an item with the specified
Namevalue within the entire collection, if found; otherwise,-1.
Inherited Members
- DeferrableObservableCollection<T>.AddRange(IEnumerable<T>)
- DeferrableObservableCollection<T>.BeginUpdate()
- DeferrableObservableCollection<T>.EndUpdate()
- DeferrableObservableCollection<T>.InsertItem(int, T)
- DeferrableObservableCollection<T>.OnCollectionChanged(NotifyCollectionChangedEventArgs)
- DeferrableObservableCollection<T>.OnPropertyChanged(PropertyChangedEventArgs)
- DeferrableObservableCollection<T>.SetItem(int, T)
- DeferrableObservableCollection<T>.ToArray()
- DeferrableObservableCollection<T>.IsDirty
- DeferrableObservableCollection<T>.IsPropertyChangeSuspended
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()