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
/* Mike Fechner, Consultingwerk Ltd. 13.09.2017
Preprocessor variables for SmartComponentLibrary, WinKit and SmartFramework
based on Consultingwerk/packages.i now



Top Method Summary
Options Name Purpose
- BeforeExpandHandler (Object, CancelableNodeEventArgs) Expands the parent Node with children Data exposed from a treeprovider in a ultra treeview
# DisplayColumnValues (UltraTreeNode, JsonArray) Displays the Node values
- ExpandNode (UltraTreeNode) Expands the parent Node with children Data exposed from a treeprovider in a ultra treeview
+ FetchRootNodes (character) Renders the Data exposed from a treeprovider in a ultra treeview
- FillNodeValues (SerializableTreeNode, UltraTreeNode) Fills the Description and Value Column
- InitializeComponent () Initializes the Visual Design
# SetupColumns (character[], character[]) Sets up Columns of the Tree

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

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 treeprovider 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 treeprovider 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 treeprovider in a ultra treeview
Notes:

Parameters:
pcRoot CHARACTER
The root of the treeview
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 SetupColumns (character[], character[])

Purpose: Sets up Columns of the Tree
Notes:

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


Constructor Detail
Top

PUBLIC DynamicTreeViewControl ()

Purpose: Constructor for the DynamicTreeViewControl class
Notes:



Property Detail
Top

PUBLIC CHARACTER ColumnHeaders


Returns CHARACTER


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:34:55