Class TreeNodeExtensions
Inheritance
System.Object
Namespace: Umbraco.Extensions
Assembly: Umbraco.Core.dll
Syntax
public static class TreeNodeExtensions
Methods
View SourceSetContainerStyle(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 |
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 |
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 |
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 |
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 |