UIProviderRegistry
Class
Associates document elements with reusable UI providers and owns the object pool used to create their visuals.
Definition
Namespace:Telerik.WinForms.Documents.UI
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class UIProviderRegistry
Inheritance: objectUIProviderRegistry
Constructors
Initializes a registry with its own object pool.
C#
public UIProviderRegistry()
Methods
Gets the provider of the requested type registered for a document element.
Registers a provider for a document element and provider type.
C#
public void RegisterUIProvider<T>(object documentElement, T uiProvider) where T : class, IUIProvider
The document or layout element associated with the provider.
uiProviderTThe provider to associate with the element.
Releases and unregisters a provider, removing the document-element entry when no provider types remain.
C#
public void ReleaseUIProvider<T>(object documentElement) where T : class, IUIProvider
The document or layout element associated with the provider.