Namespace: Consultingwerk.Windows
Class 
AppStylistService Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Windows.IAppStylistService

File:AppStylistService
Purpose:Service that allows switching and editing Infragistics
Style Libraries
Description:Default implementation of the IAppStylistService Interface
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sun Sep 22 00:33:59 CEST 2013
Notes:Uses "InfragisticsStyleSheetFolder" setting from the
IConfigurationProvider (typically .applicationsettings)
to determine the folder name used to load ISL files from
Uses "InfragisticsDefaultStyleSheet" setting from the
IConfigurationProvider (typically .applicationsettings)
to determine the default style sheet to load at startup
when the user has no StyleSheet selected in his user profile
yet



Top Method Summary
Options Name Purpose
+ EditStyleLibrary () Invokes the designer for the loaded style library
+ Infragistics.Win.ValueList GetStyleLibraries () Returns a Value List with the available style sets
+ LoadStyleLibrary (character) Loads a Style Library
# OnStyleLibraryChanged (EventArgs) Raises the StyleLibraryChanged

Top Constructor Summary
Options Name Purpose
+ AppStylistService () Constructor for the AppStylistService class

Top Event Summary
Options Name Purpose
+ StyleLibraryChanged (Object, EventArgs) Raised when the Style Library has changed

Top Property Summary
Options Name Purpose
+ CHARACTER FolderName
+ CHARACTER StyleLibrary
+ CHARACTER StyleLibraryFileName


Method Detail
Top

PUBLIC EditStyleLibrary ()

Purpose: Invokes the designer for the loaded style library
Notes:

Top

PUBLIC Infragistics.Win.ValueList GetStyleLibraries ()

Purpose: Returns a Value List with the available style sets
Notes: Requires the FolderName property to be set

Returns Infragistics.Win.ValueList
The ValueList with the Styles
Top

PUBLIC LoadStyleLibrary (character)

Purpose: Loads a Style Library
Notes:

Parameters:
pcStyleLibrary CHARACTER
The name of the style library file, without the .isl extension
Top

PROTECTED OnStyleLibraryChanged (EventArgs)

Purpose: Raises the StyleLibraryChanged
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for the event


Constructor Detail
Top

PUBLIC AppStylistService ()

Purpose: Constructor for the AppStylistService class
Notes: Restores previously selected StyleSheet from the user profile



Event Detail
Top

PUBLIC StyleLibraryChanged (Object, EventArgs)

Purpose: Raised when the Style Library has changed
Notes:

Parameters:
sender Progress.Lang.Object
The object that raised the StyleLibraryChanged event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for the event


Property Detail
Top

PUBLIC CHARACTER FolderName


Returns CHARACTER
Top

PUBLIC CHARACTER StyleLibrary


Returns CHARACTER
Top

PUBLIC CHARACTER StyleLibraryFileName


Returns CHARACTER


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 06:18:04