Mobiform Software - Aurora API Documentation

IAuroraDesigner Interface

Aurora Designer Interface (start point for all integration projects).

For a list of all members of this type, see IAuroraDesigner Members.

public interface IAuroraDesigner

Remarks

IAuroraDesigner can be considered the Application Object for Aurora. It is the root interface, all other interfaces are accessible from IAuroraDesigner.

IAuroraDesigner provides the following functionality;

  • access to the current editting surface
  • access to open documents and the logical tree of objects being editted
  • access to the dock panel containing the document tabs
  • access to the Solution Explorer and Property Panel
  • contains access to element and editor registration services
  • creates, loads, exports and saves documents
  • Example

                    
                    
              Aurora.Designer.DesignerPanel designer;
    
              public Template()
              {
                  this.Loaded += new RoutedEventHandler(Template_Loaded);
              }
    
              protected override void OnClosing(System.ComponentModel.CancelEventArgs e)
              {
                  base.OnClosing(e);
                  designer.Dispose();
              }
    
              void Template_Loaded(object sender, RoutedEventArgs e)
              {
                  this.Title = "Integration Sample - Visual Studio Integration Template";
    
                  // Instantiate the designer panel and assign to this window.
                  designer = new Aurora.Designer.DesignerPanel(this);
                  designer.Owner = this;
                  this.Content = designer;
    
                  // hook designer loaded event to add your own code.
                  designer.Loaded += new RoutedEventHandler(designer_Loaded);
              }
    
              void designer_Loaded(object sender, RoutedEventArgs e)
              {
                  // add your code here.
              }
            

    Requirements

    Namespace: Aurora.Interfaces

    Assembly: AuroraInterfaces (in AuroraInterfaces.dll)

    See Also

    IAuroraDesigner Members | Aurora.Interfaces Namespace |