Show / Hide Table of Contents

Class ChangeParentParams

A class containing the data for when a tree item's parent is changed.

Inheritance
object
ChangeParentParams
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phoenix.Aruba
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class ChangeParentParams
Remarks

Initializes a new instance of the ChangeParentParams class.

Constructors

View Source

ChangeParentParams(TemplateTreeItemViewModel, bool, bool, TemplateViewModel, string)

A class containing the data for when a tree item's parent is changed.

Declaration
public ChangeParentParams(TemplateTreeItemViewModel templateTreeItem, bool makeRoot, bool moveChildren, TemplateViewModel newParent, string triggerSource)
Parameters
Type Name Description
TemplateTreeItemViewModel templateTreeItem

The item whose parent is changing.

bool makeRoot

Whether to set the parent to the root.

bool moveChildren

Whether to move the child items with this item.

TemplateViewModel newParent

The tree item to set as the new parent.

string triggerSource

The trigger source for this action.

Remarks

Initializes a new instance of the ChangeParentParams class.

Properties

View Source

MakeRoot

Gets a value indicating whether to set the parent as the root.

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

MoveChildren

Gets a value indicating whether to move the children with the item whose parent is changing.

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

NewParent

Gets the item that is to be the new parent.

Declaration
public TemplateViewModel NewParent { get; }
Property Value
Type Description
TemplateViewModel
View Source

TemplateTreeItem

Gets the tree item whose parent is changing.

Declaration
public TemplateTreeItemViewModel TemplateTreeItem { get; }
Property Value
Type Description
TemplateTreeItemViewModel
View Source

TriggerSource

Gets trigger source for this action.

Declaration
public string TriggerSource { get; }
Property Value
Type Description
string
  • View Source
In this article
Back to top Generated by DocFX