Namespace: Consultingwerk.Windows.Controls
Class 
DynamicTreeViewControl Copy to Clipboard
Parent classes:
Inherits: Progress.Windows.UserControl

File:DynamicTreeViewControl
Purpose:Dynamic Tree View Control rendering structures provided by
the Consultingwerk.Web2.Views.TreeView.ISmartTreeNodeProvider
service
Author(s):Leo van Delft / Consultingwerk Ltd.
Created:Tue May 21 15:01:39 CEST 2019



Top Method Summary
Options Name Purpose
- BeforeExpandHandler (Object, CancelableNodeEventArgs) Expands the parent Node with children Data exposed from a tree provider in a ultra treeview
# DisplayColumnValues (UltraTreeNode, JsonArray) Displays the Node values
- ExpandNode (UltraTreeNode) Expands the parent Node with children Data exposed from a tree provider in a ultra treeview
+ FetchRootNodes (character) Renders the Data exposed from a tree provider in a ultra treeview
+ FetchRootNodes (character, character) Renders the Data exposed from a tree provider in a ultra treeview
- FillNodeValues (SerializableTreeNode, UltraTreeNode) Fills the Description and Value Column
- InitializeComponent () Initializes the Visual Design
# OnTreeNodeDoubleClick (TreeNodeDoubleClickEventArgs) Raises the TreeNodeDoubleClick
# SetupColumns (character, character[], character[]) Sets up Columns of the Tree
- ultraTreeview_DoubleClick (Object, EventArgs) Event handler for the DoubleClick event of the ultraTreeview component

Top Constructor Summary
Options Name Purpose
+ DynamicTreeViewControl () Constructor for the DynamicTreeViewControl class

Top Event Summary
Options Name Purpose
+ TreeNodeDoubleClick (Object, TreeNodeDoubleClickEventArgs) Raised when a Tree Node is double-clicked

Top Property Summary
Options Name Purpose
+ CHARACTER ColumnHeaders


Method Detail
Top

PRIVATE BeforeExpandHandler (Object, CancelableNodeEventArgs)

Purpose: Expands the parent Node with children Data exposed from a tree provider in a ultra treeview
Notes:

Parameters:
sender System.Object
The reference to the Control that raise the event
e Infragistics.Win.UltraWinTree.CancelableNodeEventArgs
The CancelableNodeEventArgs with the data for this event
Top

PROTECTED DisplayColumnValues (UltraTreeNode, JsonArray)

Purpose: Displays the Node values
Notes:

Parameters:
poNode Infragistics.Win.UltraWinTree.UltraTreeNode
The tree node
poValues Progress.Json.ObjectModel.JsonArray
The JsonArray with the values
Top

PRIVATE ExpandNode (UltraTreeNode)

Purpose: Expands the parent Node with children Data exposed from a tree provider in a ultra treeview
Notes:

Parameters:
poNode Infragistics.Win.UltraWinTree.UltraTreeNode
the parent node
Top

PUBLIC FetchRootNodes (character)

Purpose: Renders the Data exposed from a tree provider in a ultra treeview
Notes:

Parameters:
pcRoot CHARACTER
The root of the treeview
Top

PUBLIC FetchRootNodes (character, character)

Purpose: Renders the Data exposed from a tree provider in a ultra treeview
Notes:

Parameters:
pcRoot CHARACTER
The root of the treeview
pcFilter CHARACTER
The node filter string
Top

PRIVATE FillNodeValues (SerializableTreeNode, UltraTreeNode)

Purpose: Fills the Description and Value Column
Notes:

Parameters:
poNode Consultingwerk.CommonUi.Components.TreeView.SerializableTreeNode
The SerializableTreeNode of the node
poChild Infragistics.Win.UltraWinTree.UltraTreeNode
The root UltraTreeNode the node
Top

PRIVATE InitializeComponent ()

Purpose: Initializes the Visual Design
Notes:

Top

PROTECTED OnTreeNodeDoubleClick (TreeNodeDoubleClickEventArgs)

Purpose: Raises the TreeNodeDoubleClick
Notes:

Parameters:
e Consultingwerk.Windows.Controls.TreeNodeDoubleClickEventArgs
The TreeNodeDoubleClickEventArgs with the data for the event
Top

PROTECTED SetupColumns (character, character[], character[])

Purpose: Sets up Columns of the Tree
Notes:

Parameters:
pcMainColumnHeader CHARACTER
The header for the leading column
pcColumnHeaders CHARACTER
The array of column header
pcColumnWidths CHARACTER
The array of column widths, e.g. "100px", "50px" or "75%", "25%"
Top

PRIVATE ultraTreeview_DoubleClick (Object, EventArgs)

Purpose: Event handler for the DoubleClick event of the ultraTreeview component
Notes:

Parameters:
sender System.Object
: System.Object
e System.EventArgs
: System.EventArgs


Constructor Detail
Top

PUBLIC DynamicTreeViewControl ()

Purpose: Constructor for the DynamicTreeViewControl class
Notes:



Event Detail
Top

PUBLIC TreeNodeDoubleClick (Object, TreeNodeDoubleClickEventArgs)

Purpose: Raised when a Tree Node is double-clicked
Notes:

Parameters:
sender Progress.Lang.Object
The object that raised the TreeNodeDoubleClick event
e Consultingwerk.Windows.Controls.TreeNodeDoubleClickEventArgs
The TreeNodeDoubleClickEventArgs with the data for the event


Property Detail
Top

PUBLIC CHARACTER ColumnHeaders


Returns CHARACTER


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:25:11