UIRendererManager Class
Managers the renderers used to render Actipro control products and controls the global theme for those products.
[ToolboxBitmap(typeof(UIRendererManager))]
public class UIRendererManager : Component, IDisposable
- Inheritance:
- object MarshalByRefObject Component object
- Implements:
- IDisposable
Constructors
UIRendererManager()
Initializes an instance of the class.
public UIRendererManager()
Properties
ColorScheme
Gets the IWindowsColorScheme currently in use by the renderer manager.
public static IWindowsColorScheme ColorScheme { get; set; }
Property Value
- IWindowsColorScheme:
The IWindowsColorScheme currently in use by the renderer manager.
ColorSchemeType
Gets or sets a WindowsColorSchemeType that indicates the color scheme type to use for the renderers.
public WindowsColorSchemeType ColorSchemeType { get; set; }
Property Value
- WindowsColorSchemeType:
A WindowsColorSchemeType that indicates the color scheme type to use for the renderers.
Methods
DecrementUsageCount(Type)
Flags that a renderer instance is no longer required for the specified renderer Type.
public static void DecrementUsageCount(Type rendererType)
Parameter | Type | Description |
---|---|---|
rendererType | Type | The Type of renderer that is no longer needed. |
GetRendererData(Type)
Gets the UIRendererManager.RendererData for the specified renderer Type, if there is data available.
public static UIRendererManager.RendererData GetRendererData(Type rendererType)
Parameter | Type | Description |
---|---|---|
rendererType | Type | The Type of renderer to look for. |
Returns
- UIRendererManager.RendererData:
The UIRendererManager.RendererData for the specified renderer Type, if there is data available.
IncrementUsageCount(Type, IUIRendererFactory)
Flags that a new renderer instance is requested for the specified renderer Type.
public static void IncrementUsageCount(Type rendererType, IUIRendererFactory rendererFactory)
Parameter | Type | Description |
---|---|---|
rendererType | Type | The Type of renderer that is needed. |
rendererFactory | IUIRendererFactory | The IUIRendererFactory that will be used to create renderers. |
RegisterRendererFactory(Type, IUIRendererFactory, bool)
Flags that a new renderer instance is requested for the specified renderer Type.
public static void RegisterRendererFactory(Type rendererType, IUIRendererFactory rendererFactory, bool overwrite)
Parameter | Type | Description |
---|---|---|
rendererType | Type | The Type of renderer that is needed. |
rendererFactory | IUIRendererFactory | The IUIRendererFactory that will be used to create renderers. |
overwrite | bool | Whether to overwrite any existing record. |
Events
ColorSchemeChanged
Occurs after the ColorScheme property has changed.