Search Results for

    Show / Hide Table of Contents
    View Source

    Class LinkDisplay

    Represents a link display model for content editing.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models.ContentEditing
    Assembly: Umbraco.Core.dll
    Syntax
    [DataContract(Name = "link", Namespace = "")]
    public class LinkDisplay

    Constructors

    View Source

    LinkDisplay()

    Declaration
    public LinkDisplay()

    Properties

    View Source

    Culture

    Gets or sets the (optional) culture of the link.

    Declaration
    [DataMember(Name = "culture")]
    public string? Culture { get; set; }
    Property Value
    Type Description
    string
    View Source

    Icon

    Gets or sets the icon for the link.

    Declaration
    [DataMember(Name = "icon")]
    public string? Icon { get; set; }
    Property Value
    Type Description
    string
    View Source

    Name

    Gets or sets the display name of the link.

    Declaration
    [DataMember(Name = "name")]
    public string? Name { get; set; }
    Property Value
    Type Description
    string
    View Source

    Published

    Gets or sets a value indicating whether the linked content is published.

    Declaration
    [DataMember(Name = "published")]
    public bool Published { get; set; }
    Property Value
    Type Description
    bool
    View Source

    QueryString

    Gets or sets the query string portion of the link URL.

    Declaration
    [DataMember(Name = "queryString")]
    public string? QueryString { get; set; }
    Property Value
    Type Description
    string
    View Source

    Target

    Gets or sets the target attribute for the link (e.g., "_blank").

    Declaration
    [DataMember(Name = "target")]
    public string? Target { get; set; }
    Property Value
    Type Description
    string
    View Source

    Trashed

    Gets or sets a value indicating whether the linked content is in the recycle bin.

    Declaration
    [DataMember(Name = "trashed")]
    public bool Trashed { get; set; }
    Property Value
    Type Description
    bool
    View Source

    Type

    Gets or sets the type of link (document, media, or external).

    Declaration
    [DataMember(Name = "type")]
    public string? Type { get; set; }
    Property Value
    Type Description
    string
    View Source

    Unique

    Gets or sets the unique identifier of the linked content.

    Declaration
    [DataMember(Name = "unique")]
    public Guid? Unique { get; set; }
    Property Value
    Type Description
    Guid?
    View Source

    Url

    Gets or sets the URL of the link.

    Declaration
    [DataMember(Name = "url")]
    public string? Url { get; set; }
    Property Value
    Type Description
    string
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX