Namespace: Consultingwerk.Windows.Util
Class 
UltraTreeColumnResizeHelper Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:UltraTreeColumnResizeHelper
Author(s):Marko Rüterbories / Consultingwerk Ltd.
Created:Thu May 22 13:20:21 CEST 2014



Top Method Summary
Options Name Purpose
# AfterNodeLayoutItemResizeHandler (Object, AfterNodeLayoutItemResizeEventArgs) Occurs after a node layout item (i.e., a column header or cell) is resized by the end user.
+ ApplyFixedColumnSizes (integer, integer, integer) Sets all columnsizes of a ColumnSet to a fixed width starting from the ColumnOffset
# ChildResizeHandler (UltraTreeColumnSet, UltraTreeColumnSet, integer, integer) Resizes the Parent Collection after the Child has been resized
- CloneColumnSet (integer, integer) Clones every column of a NodeLevel based ColumnSet to another level
+ InitializeColumnResizing (integer) Checks if a NodeLevel based layout already exists. If not a new clone of the initial layout is created and assigned to that level.
# ParentResizeHandler (UltraTreeColumnSet, UltraTreeColumnSet, integer, integer) Resizes the Child Collection after the Parent has been resized
+ RegisterNodeLevelsForSyncronization (integer, integer, integer) Adds a new syncronization for NodeLevels
+ UnregisterNodeLevelsForSyncronization (integer) Removes a registered syncronization

Top Constructor Summary
Options Name Purpose
+ UltraTreeColumnResizeHelper (UltraTree, integer, character) Constructor for the UltraTreeColumnResizeHelper class

Top Property Summary
Options Name Purpose
+ INTEGER DefaultColumnWidth
+ CHARACTER FirstColumnKey
+ INTEGER PreferredCellSize
+ Infragistics.Win.UltraWinTree.UltraTree Tree


Method Detail
Top

PROTECTED AfterNodeLayoutItemResizeHandler (Object, AfterNodeLayoutItemResizeEventArgs)

Purpose: Occurs after a node layout item (i.e., a column header or cell) is
resized by the end user.
Notes:

Parameters:
sender System.Object
The sending object
e Infragistics.Win.UltraWinTree.AfterNodeLayoutItemResizeEventArgs
An AfterNodeLayoutItemResizeEventArgs that has the data of the event
Top

PUBLIC ApplyFixedColumnSizes (integer, integer, integer)

Purpose: Sets all columnsizes of a ColumnSet to a fixed width starting from
the ColumnOffset
Notes:

Parameters:
piNodeLevel INTEGER
The NodeLevel of the ColumnSet as INTEGER
piColumnOffset INTEGER
The starting column as INTEGER
piColumnWidth INTEGER
The width to be applied to all columns as INTEGER
Top

PROTECTED ChildResizeHandler (UltraTreeColumnSet, UltraTreeColumnSet, integer, integer)

Purpose: Resizes the Parent Collection after the Child has been resized
Notes:

Parameters:
poParentColumnSet Infragistics.Win.UltraWinTree.UltraTreeColumnSet
The Parent Node ColumnSet
poChildColumnSet Infragistics.Win.UltraWinTree.UltraTreeColumnSet
The Child Node ColumnSet
piParentOffset INTEGER
The Parent Column Offset
piChildOffset INTEGER
The Child Column Offset
Top

PRIVATE CloneColumnSet (integer, integer)

Purpose: Clones every column of a NodeLevel based ColumnSet to another level
Notes:

Parameters:
piSourceLevel INTEGER
The node level to use as source to copy the layout
piTargetLevel INTEGER
The node level to copy the layout to
Top

PUBLIC InitializeColumnResizing (integer)

Purpose: Checks if a NodeLevel based layout already exists. If not a new
clone of the initial layout is created and assigned to that level.
Notes:

Parameters:
piNodeLevel INTEGER
The level of the currently processed node
Top

PROTECTED ParentResizeHandler (UltraTreeColumnSet, UltraTreeColumnSet, integer, integer)

Purpose: Resizes the Child Collection after the Parent has been resized
Notes:

Parameters:
poParentColumnSet Infragistics.Win.UltraWinTree.UltraTreeColumnSet
The Parent Node ColumnSet
poChildColumnSet Infragistics.Win.UltraWinTree.UltraTreeColumnSet
The Child Node ColumnSet
piParentOffset INTEGER
The Parent Column Offset
piChildOffset INTEGER
The Child Column Offset
Top

PUBLIC RegisterNodeLevelsForSyncronization (integer, integer, integer)

Purpose: Adds a new syncronization for NodeLevels
Notes:

Parameters:
piChildNodeLevel INTEGER
An INTEGER value of the childs NodeLevel
piParentColumnOffset INTEGER
First column to be syncronized as the base
piChildColumnOffset INTEGER
First column to be syncronized with the parent offset
Top

PUBLIC UnregisterNodeLevelsForSyncronization (integer)

Purpose: Removes a registered syncronization
Notes:

Parameters:
piChildNodeLevel INTEGER
An INTEGER value of the childs NodeLevel


Constructor Detail
Top

PUBLIC UltraTreeColumnResizeHelper (UltraTree, integer, character)

Purpose: Constructor for the UltraTreeColumnResizeHelper class
Notes:

Parameters:
poTree Infragistics.Win.UltraWinTree.UltraTree
The UltraTree to be used for resizing
piPreferredCellSize INTEGER
The prefered cell size to be applied
pcFirstColumnKey CHARACTER
The reference to the first column of the tree


Property Detail
Top

PUBLIC INTEGER DefaultColumnWidth


Returns INTEGER
Top

PUBLIC CHARACTER FirstColumnKey


Returns CHARACTER
Top

PUBLIC INTEGER PreferredCellSize


Returns INTEGER
Top

PUBLIC Infragistics.Win.UltraWinTree.UltraTree Tree


Returns Infragistics.Win.UltraWinTree.UltraTree


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