Class DocumentFormatProvidersManager
A class responsible for preserving the registered format providers.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Documents.FormatProviders
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class DocumentFormatProvidersManager
Properties
AutomaticallyLoadFormatProviders
Gets or sets a value indicating whether MEF should be used to load all format providers automatically.
Declaration
public static bool AutomaticallyLoadFormatProviders { get; set; }
Property Value
System.
|
FormatProviderParts
Gets or sets the format provider metadata.
Declaration
public IList<Lazy<IDocumentFormatProvider, IDocumentFormatProviderMetadata>> FormatProviderParts { get; set; }
Property Value
System. The format provider parts. |
FormatProviders
Gets the registered format providers.
Declaration
public static IEnumerable<IDocumentFormatProvider> FormatProviders { get; }
Property Value
System. The format providers. |
Methods
GetProviderByExtension(String)
Gets the provider for a specific extension.
Declaration
public static IDocumentFormatProvider GetProviderByExtension(string extension)
Parameters
System. The extension. |
Returns
GetProviderByName(String)
Gets a format provider by its name.
Declaration
public static IDocumentFormatProvider GetProviderByName(string providerName)
Parameters
System. Name of the provider. |
Returns
GetSupportedExtensions()
Gets the file extensions of the supported formats.
Declaration
public static IEnumerable<string> GetSupportedExtensions()
Returns
System. A collection of the extensions. |
RegisterFormatProvider(IDocumentFormatProvider)
Registers a format provider.
Declaration
public static void RegisterFormatProvider(IDocumentFormatProvider provider)
Parameters
IDocument The provider. |