Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentSortOrder

    A model representing a new sort order for a content/media item

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models.ContentEditing
    Assembly: Umbraco.Core.dll
    Syntax
    [DataContract(Name = "content", Namespace = "")]
    public class ContentSortOrder

    Properties

    View Source

    IdSortOrder

    An array of integer Ids representing the sort order

    Declaration
    [DataMember(Name = "idSortOrder", IsRequired = true)]
    [Required]
    public int[] IdSortOrder { get; set; }
    Property Value
    Type Description
    System.Int32[]
    Remarks

    Of course all of these Ids should be at the same level in the hierarchy!!

    View Source

    ParentId

    The parent Id of the nodes being sorted

    Declaration
    [DataMember(Name = "parentId", IsRequired = true)]
    [Required]
    public int ParentId { get; set; }
    Property Value
    Type Description
    System.Int32
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • IdSortOrder
      • ParentId
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX