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
+ 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 Gets and sets the name of the folder from where the Style Library files will be loaded
+ CHARACTER StyleLibrary Returns the name of the current style library
+ CHARACTER StyleLibraryFileName Returns the name of the current style library file


Method Detail
Top

PUBLIC EditStyleLibrary ()

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

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

Purpose: Gets and sets the name of the folder from where the
Style Library files will be loaded
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER StyleLibrary

Purpose: Returns the name of the current style library
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER StyleLibraryFileName

Purpose: Returns the name of the current style library file
Notes:

Returns CHARACTER


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