Class PluginCollection
Represents collection of designer plugins.
Inheritance
System.Object
    System.Collections.CollectionBase
    PluginCollection
  Namespace: FastReport.Design
Assembly: FastReport.dll
Syntax
public class PluginCollection : CollectionBase, IList, ICollection, IEnumerable
  Remarks
This class is used in the Designer.Plugins property.
To register own plugin, add its type to the DesignerPlugins global collection:
DesignerPlugins.Add(typeof(MyToolbar));
Methods
Find(String)
Finds a plugin by its name.
Declaration
public IDesignerPlugin Find(string pluginName)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | pluginName | The plugin's name.  | 
      
Returns
| Type | Description | 
|---|---|
| IDesignerPlugin | The plugin, if found; otherwise, null.  | 
      
Examples
This example shows how to find a plugin.
MessagesWindow window = designer.Plugins.Find("MessagesWindow") as MessagesWindow;
  
  FindType(String)
Finds a plugin by its type name.
Declaration
public IDesignerPlugin FindType(string typeName)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | typeName | The plugin's type name.  | 
      
Returns
| Type | Description | 
|---|---|
| IDesignerPlugin | The plugin, if found; otherwise, null.  | 
      
Examples
This example shows how to find a plugin.
MessagesWindow window = designer.Plugins.FindType("MessagesWindow") as MessagesWindow;