Search Results for

    Show / Hide Table of Contents
    View Source

    Class PropertyGroupCollection

    Represents a collection of PropertyGroup objects

    Inheritance
    System.Object
    System.Collections.ObjectModel.Collection<PropertyGroup>
    System.Collections.ObjectModel.KeyedCollection<System.String, PropertyGroup>
    Namespace: Umbraco.Cms.Core.Models
    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()

    Initializes a new instance of the PropertyGroupCollection class.

    Declaration
    public PropertyGroupCollection()
    View Source

    PropertyGroupCollection(IEnumerable<PropertyGroup>)

    Initializes a new instance of the PropertyGroupCollection class.

    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
    Type Name Description
    PropertyGroup item
    View Source

    ClearCollectionChangedEvents()

    Clears all CollectionChanged event handlers

    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
    Type Name Description
    PropertyGroup item
    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
    Type Name Description
    System.Int32 index
    PropertyGroup item
    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
    Type Name Description
    System.Int32 index
    PropertyGroup item

    Events

    View Source

    CollectionChanged

    Declaration
    public event NotifyCollectionChangedEventHandler CollectionChanged
    Event Type
    Type Description
    System.Collections.Specialized.NotifyCollectionChangedEventHandler
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • PropertyGroupCollection()
      • PropertyGroupCollection(IEnumerable<PropertyGroup>)
    • Methods
      • Add(PropertyGroup)
      • ClearCollectionChangedEvents()
      • ClearItems()
      • Contains(Int32)
      • DeepClone()
      • GetKeyForItem(PropertyGroup)
      • IndexOfKey(Int32)
      • IndexOfKey(String)
      • InsertItem(Int32, PropertyGroup)
      • OnCollectionChanged(NotifyCollectionChangedEventArgs)
      • RemoveItem(Int32)
      • SetItem(Int32, PropertyGroup)
    • Events
      • CollectionChanged
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX