Class Tree
Inheritance
System.Object
System.MarshalByRefObject
Tree
Implements
System.Runtime.Remoting.Messaging.IMessageSink
Inherited Members
System.MarshalByRefObject.CreateObjRef(System.Type)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: NXOpenUI.dll
Syntax
public class Tree : UIBlock, IMessageSink
Constructors
Tree()
Declaration
Properties
CanStretchHeight
Declaration
public bool CanStretchHeight { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
CanStretchWidth
Declaration
public bool CanStretchWidth { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
FirstSelectedNode
Declaration
public Node FirstSelectedNode { get; }
Property Value
Height
Declaration
public int Height { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
Localize
Declaration
public bool Localize { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
MaximumHeight
Declaration
public int MaximumHeight { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
MaximumWidth
Declaration
public int MaximumWidth { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
MinimumHeight
Declaration
public int MinimumHeight { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
MinimumWidth
Declaration
public int MinimumWidth { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
NumberOfColumns
Declaration
public int NumberOfColumns { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
RootNode
Declaration
public Node RootNode { get; }
Property Value
Declaration
public int ScrollFrozenColumn { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
Declaration
public int ScrollLineNumber { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
SelectionModeAsString
Declaration
public string SelectionModeAsString { get; set; }
Property Value
| Type |
Description |
| System.String |
|
ShowExpandCollapseMarker
Declaration
public bool ShowExpandCollapseMarker { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public bool ShowHeader { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
ShowMultipleColumns
Declaration
public bool ShowMultipleColumns { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public bool ShowToolTips { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
SortRootNodes
Declaration
public bool SortRootNodes { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Width
Declaration
public int Width { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
Methods
CopyNode(Node)
Declaration
public Node CopyNode(Node sourceNode)
Parameters
| Type |
Name |
Description |
| Node |
sourceNode |
|
Returns
Declaration
public TreeListMenu CreateMenu()
Returns
CreateNode(String)
Declaration
public Node CreateNode(string displayText)
Parameters
| Type |
Name |
Description |
| System.String |
displayText |
|
Returns
DeleteNode(Node)
Declaration
public void DeleteNode(Node node)
Parameters
| Type |
Name |
Description |
| Node |
node |
|
GetColumnDisplayType(Int32)
Declaration
public Tree.ColumnDisplay GetColumnDisplayType(int columnID)
Parameters
| Type |
Name |
Description |
| System.Int32 |
columnID |
|
Returns
GetColumnId(Int32)
Declaration
public int GetColumnId(int columnPosition)
Parameters
| Type |
Name |
Description |
| System.Int32 |
columnPosition |
|
Returns
| Type |
Description |
| System.Int32 |
|
GetColumnPosition(Int32)
Declaration
public int GetColumnPosition(int columnID)
Parameters
| Type |
Name |
Description |
| System.Int32 |
columnID |
|
Returns
| Type |
Description |
| System.Int32 |
|
GetColumnResizePolicy(Int32)
Declaration
public Tree.ColumnResizePolicy GetColumnResizePolicy(int columnID)
Parameters
| Type |
Name |
Description |
| System.Int32 |
columnID |
|
Returns
GetColumnSortable(Int32)
Declaration
public bool GetColumnSortable(int columnID)
Parameters
| Type |
Name |
Description |
| System.Int32 |
columnID |
|
Returns
| Type |
Description |
| System.Boolean |
|
GetColumnSortOption(Int32)
Declaration
public Tree.ColumnSortOption GetColumnSortOption(int columnID)
Parameters
| Type |
Name |
Description |
| System.Int32 |
columnID |
|
Returns
GetColumnTitle(Int32)
Declaration
public string GetColumnTitle(int columnID)
Parameters
| Type |
Name |
Description |
| System.Int32 |
columnID |
|
Returns
| Type |
Description |
| System.String |
|
GetColumnVisible(Int32)
Declaration
public bool GetColumnVisible(int columnID)
Parameters
| Type |
Name |
Description |
| System.Int32 |
columnID |
|
Returns
| Type |
Description |
| System.Boolean |
|
GetColumnWidth(Int32)
Declaration
public int GetColumnWidth(int columnID)
Parameters
| Type |
Name |
Description |
| System.Int32 |
columnID |
|
Returns
| Type |
Description |
| System.Int32 |
|
GetSelectedNodes()
Declaration
public Node[] GetSelectedNodes()
Returns
GetSelectionModeMembers()
Declaration
public string[] GetSelectionModeMembers()
Returns
| Type |
Description |
| System.String[] |
|
InsertColumn(Int32, String, Int32)
Declaration
public int InsertColumn(int columnID, string columnTitle, int columnWidth)
Parameters
| Type |
Name |
Description |
| System.Int32 |
columnID |
|
| System.String |
columnTitle |
|
| System.Int32 |
columnWidth |
|
Returns
| Type |
Description |
| System.Int32 |
|
InsertNode(Node, Node, Node, Tree.NodeInsertOption)
Declaration
public void InsertNode(Node newNode, Node parentNode, Node afterNode, Tree.NodeInsertOption nodeInsertOption)
Parameters
Redraw(Boolean)
Declaration
public void Redraw(bool redraw)
Parameters
| Type |
Name |
Description |
| System.Boolean |
redraw |
|
SelectNode(Node, Boolean, Boolean)
Declaration
public void SelectNode(Node node, bool isSelect, bool isOtherNodeAffected)
Parameters
| Type |
Name |
Description |
| Node |
node |
|
| System.Boolean |
isSelect |
|
| System.Boolean |
isOtherNodeAffected |
|
SelectNodes(Node[], Boolean, Boolean)
Declaration
public void SelectNodes(Node[] node, bool isSelect, bool isOtherNodeAffected)
Parameters
| Type |
Name |
Description |
| Node[] |
node |
|
| System.Boolean |
isSelect |
|
| System.Boolean |
isOtherNodeAffected |
|
SetAskEditControlHandler(Tree.AskEditControlCallback)
Declaration
public void SetAskEditControlHandler(Tree.AskEditControlCallback cb)
Parameters
SetColumnDisplayType(Int32, Tree.ColumnDisplay)
Declaration
public void SetColumnDisplayType(int columnID, Tree.ColumnDisplay displayType)
Parameters
SetColumnResizePolicy(Int32, Tree.ColumnResizePolicy)
Declaration
public void SetColumnResizePolicy(int columnID, Tree.ColumnResizePolicy resizePolicy)
Parameters
SetColumnSortable(Int32, Boolean)
Declaration
public void SetColumnSortable(int columnID, bool isSortable)
Parameters
| Type |
Name |
Description |
| System.Int32 |
columnID |
|
| System.Boolean |
isSortable |
|
SetColumnSortHandler(Tree.ColumnSortCallback)
Declaration
public void SetColumnSortHandler(Tree.ColumnSortCallback cb)
Parameters
SetColumnSortOption(Int32, Tree.ColumnSortOption)
Declaration
public void SetColumnSortOption(int columnID, Tree.ColumnSortOption sortOption)
Parameters
SetColumnTitle(Int32, String)
Declaration
public void SetColumnTitle(int columnID, string columnHeaderTitle)
Parameters
| Type |
Name |
Description |
| System.Int32 |
columnID |
|
| System.String |
columnHeaderTitle |
|
SetColumnVisible(Int32, Boolean)
Declaration
public void SetColumnVisible(int columnID, bool isVisible)
Parameters
| Type |
Name |
Description |
| System.Int32 |
columnID |
|
| System.Boolean |
isVisible |
|
SetColumnWidth(Int32, Int32)
Declaration
public void SetColumnWidth(int columnID, int columnWidth)
Parameters
| Type |
Name |
Description |
| System.Int32 |
columnID |
|
| System.Int32 |
columnWidth |
|
SetEditOptions(String[], Int32)
Declaration
public void SetEditOptions(string[] stringArray, int defaultIndex)
Parameters
| Type |
Name |
Description |
| System.String[] |
stringArray |
|
| System.Int32 |
defaultIndex |
|
SetIsDragAllowedHandler(Tree.IsDragAllowedCallback)
Declaration
public void SetIsDragAllowedHandler(Tree.IsDragAllowedCallback cb)
Parameters
SetIsDropAllowedHandler(Tree.IsDropAllowedCallback)
Declaration
public void SetIsDropAllowedHandler(Tree.IsDropAllowedCallback cb)
Parameters
Declaration
public void SetMenu(TreeListMenu menu)
Parameters
SetOnBeginLabelEditHandler(Tree.OnBeginLabelEditCallback)
Declaration
public void SetOnBeginLabelEditHandler(Tree.OnBeginLabelEditCallback cb)
Parameters
SetOnDefaultActionHandler(Tree.OnDefaultActionCallback)
Declaration
public void SetOnDefaultActionHandler(Tree.OnDefaultActionCallback cb)
Parameters
SetOnDeleteNodeHandler(Tree.OnDeleteNodeCallback)
Declaration
public void SetOnDeleteNodeHandler(Tree.OnDeleteNodeCallback cb)
Parameters
SetOnDropHandler(Tree.OnDropCallback)
Declaration
public void SetOnDropHandler(Tree.OnDropCallback cb)
Parameters
SetOnDropMenuHandler(Tree.OnDropMenuCallback)
Declaration
public void SetOnDropMenuHandler(Tree.OnDropMenuCallback cb)
Parameters
SetOnEditOptionSelectedHandler(Tree.OnEditOptionSelectedCallback)
Declaration
public void SetOnEditOptionSelectedHandler(Tree.OnEditOptionSelectedCallback cb)
Parameters
SetOnEndLabelEditHandler(Tree.OnEndLabelEditCallback)
Declaration
public void SetOnEndLabelEditHandler(Tree.OnEndLabelEditCallback cb)
Parameters
SetOnExpandHandler(Tree.OnExpandCallback)
Declaration
public void SetOnExpandHandler(Tree.OnExpandCallback cb)
Parameters
SetOnInsertColumnHandler(Tree.OnInsertColumnCallback)
Declaration
public void SetOnInsertColumnHandler(Tree.OnInsertColumnCallback cb)
Parameters
SetOnInsertNodeHandler(Tree.OnInsertNodeCallback)
Declaration
public void SetOnInsertNodeHandler(Tree.OnInsertNodeCallback cb)
Parameters
SetOnMenuHandler(Tree.OnMenuCallback)
Declaration
public void SetOnMenuHandler(Tree.OnMenuCallback cb)
Parameters
SetOnMenuSelectionHandler(Tree.OnMenuSelectionCallback)
Declaration
public void SetOnMenuSelectionHandler(Tree.OnMenuSelectionCallback cb)
Parameters
SetOnPreSelectHandler(Tree.OnPreSelectCallback)
Declaration
public void SetOnPreSelectHandler(Tree.OnPreSelectCallback cb)
Parameters
SetOnSelectHandler(Tree.OnSelectCallback)
Declaration
public void SetOnSelectHandler(Tree.OnSelectCallback cb)
Parameters
SetOnStateChangeHandler(Tree.OnStateChangeCallback)
Declaration
public void SetOnStateChangeHandler(Tree.OnStateChangeCallback cb)
Parameters
SetPreSelectionTimeOut(Double)
Declaration
public void SetPreSelectionTimeOut(double timeOut)
Parameters
| Type |
Name |
Description |
| System.Double |
timeOut |
|
SetStateIconNameHandler(Tree.StateIconNameCallback)
Declaration
public void SetStateIconNameHandler(Tree.StateIconNameCallback cb)
Parameters
SetToolTipTextHandler(Tree.ToolTipTextCallback)
Declaration
public void SetToolTipTextHandler(Tree.ToolTipTextCallback cb)
Parameters
Implements
System.Runtime.Remoting.Messaging.IMessageSink