Class ChangeParentParams
A class containing the data for when a tree item's parent is changed.
Inherited Members
Namespace: Phoenix.Aruba
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class ChangeParentParams
Remarks
Initializes a new instance of the ChangeParentParams class.
Constructors
View SourceChangeParentParams(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 SourceMakeRoot
Gets a value indicating whether to set the parent as the root.
Declaration
public bool MakeRoot { get; }
Property Value
Type | Description |
---|---|
bool |
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 |
NewParent
Gets the item that is to be the new parent.
Declaration
public TemplateViewModel NewParent { get; }
Property Value
Type | Description |
---|---|
TemplateViewModel |
TemplateTreeItem
Gets the tree item whose parent is changing.
Declaration
public TemplateTreeItemViewModel TemplateTreeItem { get; }
Property Value
Type | Description |
---|---|
TemplateTreeItemViewModel |
TriggerSource
Gets trigger source for this action.
Declaration
public string TriggerSource { get; }
Property Value
Type | Description |
---|---|
string |