Search Results for

    Show / Hide Table of Contents
    View Source

    Class TreeNodeExtensions

    Inheritance
    System.Object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Core.dll
    Syntax
    public static class TreeNodeExtensions

    Methods

    View Source

    SetContainerStyle(TreeNode)

    Sets the node style to show that it is a container type

    Declaration
    public static void SetContainerStyle(this TreeNode treeNode)
    Parameters
    Type Name Description
    TreeNode treeNode
    View Source

    SetHasPendingVersionStyle(TreeNode)

    Sets the node style to show that it is has unpublished versions (but is currently published)

    Declaration
    public static void SetHasPendingVersionStyle(this TreeNode treeNode)
    Parameters
    Type Name Description
    TreeNode treeNode
    View Source

    SetLockedStyle(TreeNode)

    Sets the node style to show that it is currently locked / non-deletable

    Declaration
    public static void SetLockedStyle(this TreeNode treeNode)
    Parameters
    Type Name Description
    TreeNode treeNode
    View Source

    SetNotPublishedStyle(TreeNode)

    Sets the node style to show that it is not published

    Declaration
    public static void SetNotPublishedStyle(this TreeNode treeNode)
    Parameters
    Type Name Description
    TreeNode treeNode
    View Source

    SetProtectedStyle(TreeNode)

    Sets the node style to show that it is currently protected publicly

    Declaration
    public static void SetProtectedStyle(this TreeNode treeNode)
    Parameters
    Type Name Description
    TreeNode treeNode
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • SetContainerStyle(TreeNode)
      • SetHasPendingVersionStyle(TreeNode)
      • SetLockedStyle(TreeNode)
      • SetNotPublishedStyle(TreeNode)
      • SetProtectedStyle(TreeNode)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX