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 https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8093801/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 () Creates 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
+ ValueBasedAppearanceFactory (UltraGridLayout, character) Constructror for the ValueBasedAppearanceFactory

Top Property Summary
Options Name Purpose
+ Infragistics.Win.UltraWinGrid.UltraGridLayout DisplayLayout
+ Infragistics.Win.UltraWinGrid.UltraGrid Grid
+ CHARACTER SourceColumn


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: Creates 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
Top

PUBLIC ValueBasedAppearanceFactory (UltraGridLayout, character)

Purpose: Constructror for the ValueBasedAppearanceFactory
Notes:

Parameters:
poDisplayLayout Infragistics.Win.UltraWinGrid.UltraGridLayout
The reference to the DisplayLayout (Grid or UltraCombo) that owns the source column
pcSourceColumn CHARACTER
The source column as the Condition Provider


Property Detail
Top

PUBLIC Infragistics.Win.UltraWinGrid.UltraGridLayout DisplayLayout


Returns Infragistics.Win.UltraWinGrid.UltraGridLayout
Top

PUBLIC Infragistics.Win.UltraWinGrid.UltraGrid Grid


Returns Infragistics.Win.UltraWinGrid.UltraGrid
Top

PUBLIC CHARACTER SourceColumn


Returns CHARACTER


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