Search Results for

    Show / Hide Table of Contents
    View Source

    Class PropertyGroup

    Represents a group of property types.

    Inheritance
    System.Object
    BeingDirtyBase
    EntityBase
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    [DataContract(IsReference = true)]
    public class PropertyGroup : EntityBase, IRememberBeingDirty, ICanBeDirty, IEntity, IDeepCloneable

    Constructors

    View Source

    PropertyGroup(Boolean)

    Declaration
    public PropertyGroup(bool isPublishing)
    Parameters
    Type Name Description
    System.Boolean isPublishing
    View Source

    PropertyGroup(PropertyTypeCollection)

    Declaration
    public PropertyGroup(PropertyTypeCollection propertyTypeCollection)
    Parameters
    Type Name Description
    PropertyTypeCollection propertyTypeCollection

    Properties

    View Source

    Alias

    Gets or sets the alias of the group.

    Declaration
    [DataMember]
    public string Alias { get; set; }
    Property Value
    Type Description
    System.String

    The alias.

    View Source

    Name

    Gets or sets the name of the group.

    Declaration
    [DataMember]
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    The name.

    View Source

    PropertyTypes

    Gets or sets a collection of property types for the group.

    Declaration
    [DataMember]
    public PropertyTypeCollection PropertyTypes { get; set; }
    Property Value
    Type Description
    PropertyTypeCollection

    The property types.

    Remarks

    Marked with DoNotClone, because we will manually deal with cloning and the event handlers.

    View Source

    SortOrder

    Gets or sets the sort order of the group.

    Declaration
    [DataMember]
    public int SortOrder { get; set; }
    Property Value
    Type Description
    System.Int32

    The sort order.

    View Source

    Type

    Gets or sets the type of the group.

    Declaration
    [DataMember]
    public PropertyGroupType Type { get; set; }
    Property Value
    Type Description
    PropertyGroupType

    The type.

    Methods

    View Source

    Equals(PropertyGroup)

    Declaration
    public bool Equals(PropertyGroup other)
    Parameters
    Type Name Description
    PropertyGroup other
    Returns
    Type Description
    System.Boolean
    View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    View Source

    PerformDeepClone(Object)

    Declaration
    protected override void PerformDeepClone(object clone)
    Parameters
    Type Name Description
    System.Object clone
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • PropertyGroup(Boolean)
      • PropertyGroup(PropertyTypeCollection)
    • Properties
      • Alias
      • Name
      • PropertyTypes
      • SortOrder
      • Type
    • Methods
      • Equals(PropertyGroup)
      • GetHashCode()
      • PerformDeepClone(Object)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX