Class ContentSortOrder
A model representing a new sort order for a content/media item
Inheritance
System.Object
Namespace: Umbraco.Web.Models.ContentEditing
Assembly: Umbraco.Web.dll
Syntax
[DataContract(Name = "content", Namespace = "")]
public class ContentSortOrder
Properties
View SourceIdSortOrder
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!!
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 |