Top Method Summary
Options Name Purpose
Infragistics.Win.AppearanceBase GetAppearance (character, RoleState) Returns the Appearance object from the current style library for the passed in UI role and state for the Default StyleSet
Infragistics.Win.AppearanceBase GetAppearance (character, RoleState, character) Returns the Appearance object from the current style library for the passed in UI role and state and the passed in StyleSet
System.Drawing.Color GetColor (character, RoleState, character) Returns the background color of an appearance object
LoadFromBlob (memptr) Loads a StyleLibrary from a MEM-PTR (BLOB)
LoadFromFile (character) Loads a StyleLibrary from a file
SetColorTable (integer, Color) Maps a Progress color table entry to a System.Drawing.Color reference
SetProgressColorTable () Dynamically sets WinKit reserved color table entries to colors from the AppStylist ISL file currently in use
SetProgressColorTable (integer, character, RoleState, character) Dynamically sets a color entry in the Progress color table to a color defined in the AppStylist .isl file
LOGICAL StyleSetNameExists (character) Return if the currently loaded Style Library contains a StyleSet with the given name

Top Constructor Summary
Options Name Purpose
StyleLibraryHelper () Protected default constructor.


Method Detail
Top

Infragistics.Win.AppearanceBase GetAppearance (character, RoleState)

Purpose: Returns the Appearance object from the current style library for
the passed in UI role and state for the Default StyleSet
Notes:

Parameters:
pcUIRole CHARACTER
The UI role
pcUIState Infragistics.Win.AppStyling.RoleState
The RoleState
Returns Infragistics.Win.AppearanceBase
The style's appearance
Top

Infragistics.Win.AppearanceBase GetAppearance (character, RoleState, character)

Purpose: Returns the Appearance object from the current style library for
the passed in UI role and state and the passed in StyleSet
Notes: Pass in ? for the StyleSet to access the Default Styles

Parameters:
pcUIRole CHARACTER
The UI role
poUIState Infragistics.Win.AppStyling.RoleState
The RoleState
pcStyleSet CHARACTER
The style set name
Returns Infragistics.Win.AppearanceBase
The style's appearance
Top

System.Drawing.Color GetColor (character, RoleState, character)

Purpose: Returns the background color of an appearance object
Notes: Maps Infragistics (Office 2007) named colors

Parameters:
pcUIRole CHARACTER
The UI role
poUIState Infragistics.Win.AppStyling.RoleState
The RoleState
pcStyleSet CHARACTER
The style set name
Returns System.Drawing.Color
The background color of the style
Top

LoadFromBlob (memptr)

Purpose: Loads a StyleLibrary from a MEM-PTR (BLOB)
Notes: The caller is responsible for releasing the memory afterwards

Parameters:
pmPtr MEMPTR
The MEM-PTR pointing to the BLOB Data
Top

LoadFromFile (character)

Purpose: Loads a StyleLibrary from a file
Notes:

Parameters:
pcFileName CHARACTER
The file name (relative, propath or absolute) to load the style from
Top

SetColorTable (integer, Color)

Purpose: Maps a Progress color table entry to a System.Drawing.Color reference
Notes:

Parameters:
piColor INTEGER
The progress color table number
poColor System.Drawing.Color
The Color to assign to the Progress color table
Top

SetProgressColorTable ()

Purpose: Dynamically sets WinKit reserved color table entries to colors from
the AppStylist ISL file currently in use
Notes: Color 232: UltraPanel BGCOLOR
Color 233: EditorControl / Normal BGCOLOR
Color 234: EditorControl / ReadOnly BGCOLOR
Color 235: GridRow / Normal BGCOLOR
Color 236: GridColumnHeader / Normal BGCOLOR

Top

SetProgressColorTable (integer, character, RoleState, character)

Purpose: Dynamically sets a color entry in the Progress color table to a
color defined in the AppStylist .isl file
Notes: piColorNum: The Progress Color Table end to set
pcUIRole: The Role in the StyleSet
pcRoleState: The RoleState (Enum)
pcStyleSet: THe StyleSetName

Parameters:
piColorNum INTEGER
The Progress color table entry
pcUIRole CHARACTER
The UI role
poRoleState Infragistics.Win.AppStyling.RoleState
The RoleState
pcStyleSet CHARACTER
The style set name
Top

LOGICAL StyleSetNameExists (character)

Purpose: Return if the currently loaded Style Library contains a StyleSet with
the given name
Notes:

Parameters:
pcStyleSetName CHARACTER
The Styleset name to test for
Returns LOGICAL
Logical value indicating if the given StyleSet name exists


Constructor Detail
Top

StyleLibraryHelper ()

Purpose: Protected default constructor.
Notes: Disallow instance creation



©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       13.04.2026 10:30:45