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
Infragistics.Win.AppearanceBase GetAppearanceFromLibrary (ApplicationStyleLibrary, character, RoleState, character) Returns the Appearance object from the passed in 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
Infragistics.Win.AppStyling.Runtime.ApplicationStyleLibrary LoadStyleLibrary () Returns a new ApplicationStyleLibrary with the style library currently loaded into the StyleManager
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
SetProgressColorTableFromLibrary (ApplicationStyleLibrary, integer, character, RoleState, character) Dynamically sets a color entry in the Progress color table to a color defined in the passed in style library
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
poUIState 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

Infragistics.Win.AppearanceBase GetAppearanceFromLibrary (ApplicationStyleLibrary, character, RoleState, character)

Purpose: Returns the Appearance object from the passed in style library for
the passed in UI role and state and the passed in StyleSet
Notes: SCL-5949: Allows callers that need several appearances to load
the style library only once
Pass in ? for the StyleSet to access the Default Styles

Parameters:
poStyleLibrary Infragistics.Win.AppStyling.Runtime.ApplicationStyleLibrary
The ApplicationStyleLibrary loaded from the StyleManager
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
SCL-5949: Throws an InvalidParameterValueException for an empty
MEM-PTR and wraps errors of the StyleManager in a
StyleLibraryLoadException (FileName "(MEMPTR)"), like LoadFromFile

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

Infragistics.Win.AppStyling.Runtime.ApplicationStyleLibrary LoadStyleLibrary ()

Purpose: Returns a new ApplicationStyleLibrary with the style library
currently loaded into the StyleManager
Notes: SCL-5949

Returns Infragistics.Win.AppStyling.Runtime.ApplicationStyleLibrary
The ApplicationStyleLibrary loaded from the StyleManager
Top

SetColorTable (integer, Color)

Purpose: Maps a Progress color table entry to a System.Drawing.Color reference
Notes: SCL-5949: The color number has to be a valid entry of the color
table (0 to 254, or up to NUM-ENTRIES - 1 when the color table
has more entries). System.Drawing.Color:Empty (e.g. returned by
GetColor for an unknown style set) leaves the color table entry
unchanged instead of setting it to black

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
SCL-5949: The style library is loaded only once for all five
color table entries

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 entry to set
pcUIRole: The Role in the StyleSet
poRoleState: 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

SetProgressColorTableFromLibrary (ApplicationStyleLibrary, integer, character, RoleState, character)

Purpose: Dynamically sets a color entry in the Progress color table to a
color defined in the passed in style library
Notes: SCL-5949: Allows setting several color table entries from the
same style library without reloading it

Parameters:
poStyleLibrary Infragistics.Win.AppStyling.Runtime.ApplicationStyleLibrary
The ApplicationStyleLibrary loaded from the StyleManager
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       10.10.2026 15:35:56