View Source
Class PropertyGroupCollection
Inheritance
System.Object
System.Collections.ObjectModel.KeyedCollection<
System.String,
PropertyGroup>
Assembly: Umbraco.Core.dll
Syntax
[DataContract]
public class PropertyGroupCollection : KeyedCollection<string, PropertyGroup>, IList<PropertyGroup>, ICollection<PropertyGroup>, IReadOnlyList<PropertyGroup>, IReadOnlyCollection<PropertyGroup>, IEnumerable<PropertyGroup>, IList, ICollection, IEnumerable, INotifyCollectionChanged, IDeepCloneable
Constructors
View Source
PropertyGroupCollection()
Declaration
public PropertyGroupCollection()
View Source
PropertyGroupCollection(IEnumerable<PropertyGroup>)
Declaration
public PropertyGroupCollection(IEnumerable<PropertyGroup> groups)
Parameters
| Type |
Name |
Description |
| IEnumerable<PropertyGroup> |
groups |
The groups.
|
Methods
View Source
Add(PropertyGroup)
Declaration
public void Add(PropertyGroup item)
Parameters
View Source
ClearCollectionChangedEvents()
Declaration
public void ClearCollectionChangedEvents()
View Source
ClearItems()
Declaration
protected override void ClearItems()
View Source
Contains(Int32)
Declaration
public bool Contains(int id)
Parameters
| Type |
Name |
Description |
| System.Int32 |
id |
|
Returns
| Type |
Description |
| System.Boolean |
|
View Source
DeepClone()
Declaration
public object DeepClone()
Returns
| Type |
Description |
| System.Object |
|
View Source
GetKeyForItem(PropertyGroup)
Declaration
protected override string GetKeyForItem(PropertyGroup item)
Parameters
Returns
| Type |
Description |
| System.String |
|
View Source
IndexOfKey(Int32)
Declaration
public int IndexOfKey(int id)
Parameters
| Type |
Name |
Description |
| System.Int32 |
id |
|
Returns
| Type |
Description |
| System.Int32 |
|
View Source
IndexOfKey(String)
Declaration
public int IndexOfKey(string key)
Parameters
| Type |
Name |
Description |
| System.String |
key |
|
Returns
| Type |
Description |
| System.Int32 |
|
View Source
InsertItem(Int32, PropertyGroup)
Declaration
protected override void InsertItem(int index, PropertyGroup item)
Parameters
View Source
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Declaration
protected virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs args)
Parameters
| Type |
Name |
Description |
| System.Collections.Specialized.NotifyCollectionChangedEventArgs |
args |
|
View Source
RemoveItem(Int32)
Declaration
protected override void RemoveItem(int index)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
View Source
SetItem(Int32, PropertyGroup)
Declaration
protected override void SetItem(int index, PropertyGroup item)
Parameters
Events
View Source
CollectionChanged
Declaration
public event NotifyCollectionChangedEventHandler CollectionChanged
Event Type
| Type |
Description |
| System.Collections.Specialized.NotifyCollectionChangedEventHandler |
|