Search Results for

    Show / Hide Table of Contents
    View Source

    Class RelationItemModel

    Represents a model for a relation item, containing node and content type information.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class RelationItemModel

    Constructors

    View Source

    RelationItemModel()

    Declaration
    public RelationItemModel()

    Properties

    View Source

    ContentTypeAlias

    Gets or sets the alias of the content type.

    Declaration
    public string? ContentTypeAlias { get; set; }
    Property Value
    Type Description
    string
    View Source

    ContentTypeIcon

    Gets or sets the icon associated with the content type.

    Declaration
    public string? ContentTypeIcon { get; set; }
    Property Value
    Type Description
    string
    View Source

    ContentTypeKey

    Gets or sets the unique key of the content type.

    Declaration
    public Guid ContentTypeKey { get; set; }
    Property Value
    Type Description
    Guid
    View Source

    ContentTypeName

    Gets or sets the name of the content type.

    Declaration
    public string? ContentTypeName { get; set; }
    Property Value
    Type Description
    string
    View Source

    NodeAlias

    Gets or sets the alias of the node.

    Declaration
    public string? NodeAlias { get; set; }
    Property Value
    Type Description
    string
    View Source

    NodeKey

    Gets or sets the unique key (GUID) of the node.

    Declaration
    public Guid NodeKey { get; set; }
    Property Value
    Type Description
    Guid
    View Source

    NodeName

    Gets or sets the name of the node.

    Declaration
    public string? NodeName { get; set; }
    Property Value
    Type Description
    string
    View Source

    NodePublished

    Gets or sets a value indicating whether the node is published.

    Declaration
    public bool? NodePublished { get; set; }
    Property Value
    Type Description
    bool?
    View Source

    NodeType

    Gets or sets the type of the node (e.g., document, media).

    Declaration
    public string? NodeType { get; set; }
    Property Value
    Type Description
    string
    View Source

    RelationTypeIsBidirectional

    Gets or sets a value indicating whether the relation type is bidirectional.

    Declaration
    public bool RelationTypeIsBidirectional { get; set; }
    Property Value
    Type Description
    bool
    View Source

    RelationTypeIsDependency

    Gets or sets a value indicating whether the relation type represents a dependency.

    Declaration
    public bool RelationTypeIsDependency { get; set; }
    Property Value
    Type Description
    bool
    View Source

    RelationTypeName

    Gets or sets the name of the relation type.

    Declaration
    public string? RelationTypeName { get; set; }
    Property Value
    Type Description
    string
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX