Class PropertyModel
Represents a property that can be used in template queries for filtering or sorting.
Inheritance
object
Namespace: Umbraco.Cms.Core.Models.TemplateQuery
Assembly: Umbraco.Core.dll
Syntax
public class PropertyModel
Constructors
View SourcePropertyModel()
Declaration
public PropertyModel()
Properties
View SourceAlias
Gets or sets the alias of the property.
Declaration
public string Alias { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Gets or sets the display name of the property.
Declaration
public string? Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Type
Gets or sets the data type of the property (e.g., "string", "datetime", "boolean").
Declaration
public string? Type { get; set; }
Property Value
| Type | Description |
|---|---|
| string |