Click or drag to resize
ThemeResolutionService Methods

The ThemeResolutionService type exposes the following members.

Methods
  NameDescription
Public methodStatic memberApplyThemeToControlTree
Applies the specified ThemeName to all RadControls that are children of the specified Control and its child Controls
Public methodStatic memberClearTheme
Clears all stylesheets registered previously with the themeName specified.
Public methodStatic memberEnsureThemeRegistered
Creates and registers an empty Theme if one is not already registered.
Public methodStatic memberGetAvailableThemes
Gets a list of all registered themes.
Public methodStatic memberGetAvailableThemes(IComponentTreeHandler)
Gets any themes registered for a specific control by control type name or control name.
Public methodStatic memberGetCustomFont
Returns a previously loaded font by given font name.
Public methodStatic memberGetCustomFonts
Public methodStatic memberGetStyleSheetBuilder(RadElement)
Public methodStatic memberGetStyleSheetBuilder(RadElement, String)
Public methodStatic memberGetStyleSheetBuilder(IComponentTreeHandler, String, String, String)
Public methodStatic memberGetStyleSheetBuilders
Gets all StyleSheets registered under a theme name.
Public methodStatic memberGetTheme
Get previously registered theme by theme name.
Public methodStatic memberGetThemeRepository
Public methodStatic memberLoadFont(Stream)
Public methodStatic memberLoadFont(String)
Public methodStatic memberLoadPackageFile(String)
Loads a theme package, stored in the provided file.
Public methodStatic memberLoadPackageFile(String, Boolean)
Loads a theme package stored in the provided file.
Public methodStatic memberLoadPackageResource(String)
Loads a theme package, stored in the provided embedded resource. The calling assembly is used to read the manifest resource stream.
Public methodStatic memberLoadPackageResource(Assembly, String)
Loads a theme package from an embedded resource in the specified assembly.
Public methodStatic memberLoadPackageResource(ThemeResolutionServiceResourceParams, Boolean)
Loads a theme package stored in the provided embedded resource.
Public methodStatic memberRaiseThemeChanged
Public methodStatic memberRegisterControlStyleBuilder
Registers a StyleBuilder for specific type of controls and specific type of elements under the name given.
Public methodStatic memberRegisterElementTypeDefaultStyleBuilder
Public methodStatic memberRegisterStyleBuilder
Registers a StyleSheet found in styleBuilderRegistration using also the registration details specified under the theme name specified.
Public methodStatic memberRegisterStyleBuilderByControlName
Public methodStatic memberRegisterThemeFromStorage(ThemeStorageType, String)
Registers theme from a file or resource that contains a XML-serialized Theme object. The Visual Style Builder application for example is capable of designing and serializing themes. Theme files generally contain Theme with one or several style sheets each assigned a registration that defines which RadControl and/or RadElment the style sheet applies.
Public methodStatic memberRegisterThemeFromStorage(ThemeStorageType, ThemeResolutionServiceResourceParams)
Registers theme from a file or resource that contains a XML-serialized Theme object. The Visual Style Builder application for example is capable of designing and serializing themes. Theme files generally contain Theme with one or several style sheets each assigned a registration that defines which RadControl and/or RadElment the style sheet applies.
Public methodStatic memberRegisterThemeFromStorage(ThemeStorageType, Assembly, String)
Registers theme from a file or resource that contains a XML-serialized Theme object. The Visual Style Builder application for example is capable of designing and serializing themes. Theme files generally contain Theme with one or several style sheets each assigned a registration that defines which RadControl and/or RadElment the style sheet applies.
Public methodStatic memberRegisterThemeRepository
Public methodStatic memberRemoveThemeRegistration
Public methodStatic memberResumeThemeChange
Resumes the ThemeChange event. This method is used internally.
Public methodStatic memberResumeThemeChange(Boolean)
Resumes the ThemeChange event. This method is used internally.
Public methodStatic memberSubscribeForThemeChanged
Call to subscribe for theme change event, for the specified control theme class name. Note the event may be fired from another thread
Public methodStatic memberSuspendThemeChange
Suspends the ThemeChange event. This method is used internally.
Public methodStatic memberUnregisterStyleSheetBuilder
Removes an instance of the StyleGroup class from the dictionaries with registered style builders.
Public methodStatic memberUnsubscribeFromThemeChanged
Call to unsubscribe for theme change event.
Top
See Also