Class SortingModel
Represents a model for sorting content items.
Inheritance
object
Namespace: Umbraco.Cms.Core.Models.ContentEditing
Assembly: Umbraco.Core.dll
Syntax
public class SortingModel
Constructors
View SourceSortingModel()
Declaration
public SortingModel()
Properties
View SourceKey
Gets the unique key of the content item to sort.
Declaration
public required Guid Key { get; init; }
Property Value
| Type | Description |
|---|---|
| Guid |
SortOrder
Gets the sort order position for the content item.
Declaration
public required int SortOrder { get; init; }
Property Value
| Type | Description |
|---|---|
| int |