RVTDocs.com
Namespace: Autodesk.Revit.UI

IFrameworkElementCreator

Interface
Description:
Interface that the Revit UI will call, if present, to construct the FrameworkElement for the pane.
Syntax
public interface IFrameworkElementCreator
Examples
// 
// Class implementing the interface used in Revit to 
// on demand create the pane UI.
// 
internal class BrowserCreator : IFrameworkElementCreator
{
   // 
   // Implement the creation call back by returning a
   // new WebBrowser each time the callback is triggered. 
   // 
   public FrameworkElement CreateFrameworkElement()
   {
      return new WebBrowser();
   }
}
IFrameworkElementCreator Interface Members:
Name Description
CreateFrameworkElement Method called to create the FrameworkElement.