AGI UI PluginsSend comments on this topic.
CreateNetToolWindowParam Method (IAgUiPluginWindowSite)
See Also
Plugin
The plugin that creates the window.
CreateParameters
Contains information about the assembly path, user control type name, window position, etc.
Windows





Windows & Linux

Description

Creates a custom tool window that hosts the .NET user control loaded from the assembly specified by the assemblyPath.

Syntax

[Visual Basic .NET]
Public Function CreateNetToolWindowParam( _
    ByVal Plugin As IAgUiPlugin, _
    ByVal CreateParameters As IAgUiPluginWindowCreateParameters _
) As IAgUiWindow
[Managed C++]
public: IAgUiWindow^ CreateNetToolWindowParam(
    IAgUiPlugin ^ Plugin,
    IAgUiPluginWindowCreateParameters ^ CreateParameters
);
[Unmanaged C++]
public: HRESULT CreateNetToolWindowParam(
    IAgUiPlugin * Plugin,
    IAgUiPluginWindowCreateParameters * CreateParameters,
    IAgUiWindow ** ppWindow
);

Parameters

Plugin
The plugin that creates the window.
CreateParameters
Contains information about the assembly path, user control type name, window position, etc.

Return Type

A new window

See Also

Example

Create a custom window using embedded .NET user control
// IAgUiPluginSite site;

IAgUiPluginWindowSite windowSite = site as IAgUiPluginWindowSite;

IAgUiPluginWindowCreateParameters @params = windowSite.CreateParameters();
@params.AllowMultiple = false;
@params.AssemblyPath = this.GetType().Assembly.Location;
@params.UserControlFullName = typeof(CustomUserInterface).FullName;
@params.Caption = "Basic User Interface";
@params.DockStyle = AgEDockStyle.eDockStyleDockedBottom;
@params.Height = 200;
IAgUiWindow newWindow = windowSite.CreateNetToolWindowParam(this, @params);
© 2026 Analytical Graphics, Inc. All Rights Reserved.