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

File:ValueBasedAppearanceFactory
Purpose:Helper class to dynamically build value based appearances
for UltraGrid Columns
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu Feb 13 13:00:23 CET 2014
Notes:See http://confluence.consultingwerkcloud.com/wiki/display/SCL/Value+based+formatting+in+the+SmartDataBrowser+using+the+ValueBasedAppearanceFactory
for more information.



Top Method Summary
Options Name Purpose
+ Infragistics.Win.Appearance AddAppearanceForCondition (character) Adds an condition and assocated appearance to the ValueBasedAppearance being created
+ AddAppearanceForCondition (character, Appearance) Adds an condition and assigns assocated appearance to the ValueBasedAppearance being created
+ ApplyToAllColumns () Applies the ValueBasedAppearance to all Columns of the Grid.
+ ApplyToSourceColumn () Applies the ValueBasedAppearance to the source Columns of the Grid
+ Infragistics.Win.ConditionValueAppearance GetValueBasedAppearance () Creaes and returns the ConditionValueAppearance that consists of the conditions and appearances added to the factory class

Top Constructor Summary
Options Name Purpose
+ ValueBasedAppearanceFactory (UltraGrid, character) Constructror for the ValueBasedAppearanceFactory

Top Property Summary
Options Name Purpose
+ Infragistics.Win.UltraWinGrid.UltraGrid Grid Returns the Reference to the UltraGrid
+ CHARACTER SourceColumn Returns the Source Column as the condition provider


Method Detail
Top

PUBLIC Infragistics.Win.Appearance AddAppearanceForCondition (character)

Purpose: Adds an condition and assocated appearance to the ValueBasedAppearance
being created
Notes: The Appearance instance is returned so that you can assign appearance attributes

Parameters:
pcCondition CHARACTER
The condition to add an appearance for
Returns Infragistics.Win.Appearance
The Infragistics.Win.Appearance instance for the condition
Top

PUBLIC AddAppearanceForCondition (character, Appearance)

Purpose: Adds an condition and assigns assocated appearance to the ValueBasedAppearance
being created
Notes: The Appearance instance is returned so that you can assign appearance attributes

Parameters:
pcCondition CHARACTER
The condition to add an appearance for
poAppearance Infragistics.Win.Appearance
The appearance to assign to the condition
Top

PUBLIC ApplyToAllColumns ()

Purpose: Applies the ValueBasedAppearance to all Columns of the Grid.
Notes:

Top

PUBLIC ApplyToSourceColumn ()

Purpose: Applies the ValueBasedAppearance to the source Columns of the Grid
Notes:

Top

PUBLIC Infragistics.Win.ConditionValueAppearance GetValueBasedAppearance ()

Purpose: Creaes and returns the ConditionValueAppearance that consists of the
conditions and appearances added to the factory class
Notes: The ConditionValueAppearance can be assigned to the ValueBasedApprearance
of an UltraGrid Column

Returns Infragistics.Win.ConditionValueAppearance
The reference to the ConditionValueAppearance instance


Constructor Detail
Top

PUBLIC ValueBasedAppearanceFactory (UltraGrid, character)

Purpose: Constructror for the ValueBasedAppearanceFactory
Notes:

Parameters:
poGrid Infragistics.Win.UltraWinGrid.UltraGrid
The reference to the UltraGrid that owns the source column
pcSourceColumn CHARACTER
The source column as the Condition Provider


Property Detail
Top

PUBLIC Infragistics.Win.UltraWinGrid.UltraGrid Grid

Purpose: Returns the Reference to the UltraGrid
Notes:

Returns Infragistics.Win.UltraWinGrid.UltraGrid
Top

PUBLIC CHARACTER SourceColumn

Purpose: Returns the Source Column as the condition provider
Notes:

Returns CHARACTER


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:55:01