In This Article

UIRendererManager Class

Managers the renderers used to render Actipro control products and controls the global theme for those products.

public class UIRendererManager : Component
Inheritance:
Object Object

Constructors

UIRendererManager()

public UIRendererManager()

Properties

ColorScheme

Gets the WindowsColorScheme currently in use by the renderer manager.

public static WindowsColorScheme ColorScheme { get; set; }

Property Value

WindowsColorScheme:

The WindowsColorScheme 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, Boolean)

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 Boolean

Whether to overwrite any existing record.