Click or drag to resize
MacroDesignerTree Class
Represents a structure of of boolean expressions.
Inheritance Hierarchy
SystemObject
  CMS.UIControlsMacroDesignerTree

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 8.2.23
Syntax
C#
[SerializableAttribute]
public class MacroDesignerTree

The MacroDesignerTree type exposes the following members.

Constructors
  NameDescription
Public methodMacroDesignerTree
Creates new group (wrapper)
Top
Methods
  NameDescription
Public methodAddExpression
Adds an expression (leaf in the tree structure) as a new child.
Public methodAddGroup
Adds new group into the structure.
Public methodAddGroup(MacroDesignerTree)
Adds given group as a new child.
Public methodAddGroup(MacroDesignerTree, Int32)
Adds given group as a new child.
Public methodStatic memberBuildTreeFromExpression
Builds designer tree object from given MacroExpression.
Public methodMoveGroup
Moves the group to given location.
Public methodRemoveGroup
Adds given group as a new child.
Public methodResetPositions
Sets correct positions according to current state.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Properties
  NameDescription
Public propertyCondition
Returns the condition represented by the current tree node.
Public propertyGroupOperator
Gets or sets operator of the group.
Public propertyChildGroups
Gets or sets the child groups.
Public propertyIDPath
Returns IDPath of the group.
Public propertyIsLeaf
Returns true if group is a leaf (expression).
Public propertyLeftExpression
Gets or sets left part of the boolean expression.
Public propertyLevel
Returns level of the group.
Public propertyOperator
Gets or sets operator of the boolean expression.
Public propertyParentGroup
Gets or sets the parent group.
Public propertyPosition
Gets or sets the relative position of the group within the parent group.
Public propertyRightExpression
Gets or sets right part of the boolean expression.
Top
See Also