|
|
|
|
MoveStyleEnum Enumeration |
Used with the ItemClass.Move method to define how the item is moved.
Syntax MoveStyleEnum Enumeration (Softelvdm.SftTreeNET)
VB |
Public Enum MoveStyleEnum |
C# |
public enum MoveStyleEnum |
C++ |
public enum class MoveStyleEnum |
Member |
Value |
Description |
BeforeTargetAsSibling | 0 | The item is inserted before the target item as the target item's sibling. If the item and the target item are the same, the Move method has no effect. The Move method's ItemTarget parameter is required. The target item cannot be a child item of the item to be moved. |
AfterTargetAsSibling | 1 | The item is inserted after the target item as the target item's sibling. If the item and the target item are the same, the Move method has no effect. The Move method's ItemTarget parameter is required. The target item cannot be a child item of the item to be moved. |
TargetAsParentInsertFirst | 2 | The item is added as the target item's first child item. If the item and the target item are the same, the Move method has no effect. The Move method's ItemTarget parameter is required. The target item cannot be a child item of the item to be moved. |
TargetAsParentAdd | 3 | The item is added as the target item's last child item. If the item and the target item are the same, the Move method has no effect. The Move method's ItemTarget parameter is required. The target item cannot be a child item of the item to be moved. |
UpHierarchy | 4 | The item is moved up the hierarchy by one position and becomes the sibling item of the visible item that precedes it. If the item is already the first item in the tree control, the Move method has no effect. The Move method's ItemTarget parameter must be set to null/Nothing. |
DownHierarchy | 5 | The item is moved down the hierarchy by one position. If the following, visible item is expanded, it becomes that item's first child item. If the following, visible item is collapsed, it becomes that item's next sibling item. If the item is already the last item in the tree control, the Move method has no effect. The Move method's ItemTarget parameter must be set to null/Nothing. |
UpSibling | 6 | The item is moved up by one position and becomes the previous sibling item's previous sibling. If the item is already the first sibling, the Move method has no effect. The Move method's ItemTarget parameter must be set to null/Nothing. |
DownSibling | 7 | The item is moved down by one position and becomes the next sibling item's next sibling. If the item is already the last sibling, the Move method has no effect. The Move method's ItemTarget parameter must be set to null/Nothing. |
Comments
The MoveStyleEnum enumeration is used with the ItemClass.Move method to define how the item is moved.