Name | Description | |
---|---|---|
ApplyThemeToControlTree | Recursively applies a theme to a control and its children. Controls that do not support themes are ignored (but the theme is applied to their children). | |
ApplyThemeToObject | Applies a theme to an object.
The target object must be either a C1 control supporting themes, or a standard control (such as Button, Label etc) for which basic theming is provided by this library. | |
CreateObjRef | (Inherited from System.MarshalByRefObject) | |
Dispose | Overloaded. Overridden. For internal use. | |
GetLifetimeService | (Inherited from System.MarshalByRefObject) | |
GetTheme | Gets the name of a theme set on an object by this theme controller. | |
GetThemeByName | Retrieves a theme registered with the application, by its name. | |
GetThemes | Retrieves the names of all themes registered with the application. | |
GetThemeSettings | Gets the theme settings of a theme set on an object by this theme controller. | |
InitializeLifetimeService | (Inherited from System.MarshalByRefObject) | |
IsObjectThemeable | Checks whether an object supports ComponentOne themes. | |
IsPreviewControlInsideC1PrintPreviewControl | ||
IsThemeRegistered | Checks whether a theme with a specified name has been registered. | |
RegisterTheme | Overloaded. Loads a theme from a stream, and registeres it for use by theme controllers in the application.
After this method completes, the theme can be set via ApplicationTheme and Theme properties. his method throws an exception if a theme with same name has already been registered. | |
RegisterThemes | Loads all themes from an assembly, and registeres them for use by theme controllers in the current application.
This method scans all resources in the specified assembly, and selects those with names ending in ".c1theme" (case insensitive). If a theme cannot be loaded (e.g. due to a duplicate name or other error), it is skipped (i.e. no exception is thrown). | |
SetTheme | Sets a theme name on an object. | |
SetThemeSettings | Sets a theme settings on an object. | |
ToString | (Inherited from System.ComponentModel.Component) | |
UnregisterTheme | Unregisters the theme with a specified name.
This method does nothing if a matching theme could not be found. An exception is thrown if the specified theme is currently in use. |