A class responsible for preserving the registered format providers.
Definition
Namespace:Telerik.Windows.Documents.FormatProviders
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
C#
public class DocumentFormatProvidersManager
Inheritance: objectDocumentFormatProvidersManager
Properties
Gets or sets a value indicating whether MEF should be used to load all format providers automatically.
C#
public static bool AutomaticallyLoadFormatProviders { get; set; }
true if all format providers should be loaded automatically; otherwise, false.
Gets the registered format providers.
C#
public static IEnumerable<IDocumentFormatProvider> FormatProviders { get; }
The format providers.
Methods
Gets the provider for a specific extension.
C#
public static IDocumentFormatProvider GetProviderByExtension(string extension)
The extension.
Returns:Gets a format provider by its name.
C#
public static IDocumentFormatProvider GetProviderByName(string providerName)
Name of the provider.
Returns:Gets the file extensions of the supported formats.
C#
public static IEnumerable<string> GetSupportedExtensions()
A collection of the extensions.
Registers a format provider.
C#
public static void RegisterFormatProvider(IDocumentFormatProvider provider)
The provider.