Creates a custom tool window that hosts the .NET user control loaded from the assembly specified by the assemblyPath.
[Visual Basic .NET] |
---|
Public Function CreateNetToolWindow( _ ByVal Plugin As IAgUiPlugin, _ ByVal AsmPath As String, _ ByVal ControlClass As String, _ ByVal Caption As String _ ) As IAgUiWindow |
[C#] |
---|
public IAgUiWindow CreateNetToolWindow( IAgUiPlugin Plugin, string AsmPath, string ControlClass, string Caption ); |
[Managed C++] |
---|
public: IAgUiWindow^ CreateNetToolWindow( IAgUiPlugin ^ Plugin, String __gc ^ AsmPath, String __gc ^ ControlClass, String __gc ^ Caption ); |
[Unmanaged C++] |
---|
public: HRESULT CreateNetToolWindow( IAgUiPlugin * Plugin, BSTR AsmPath, BSTR ControlClass, BSTR Caption, IAgUiWindow ** ppWindow ); |
[Java] |
---|
public IAgUiWindow createNetToolWindow( IAgUiPlugin Plugin, String AsmPath, String ControlClass, String Caption ); |
- Plugin
- The plugin that creates the window.
- AsmPath
- A path to the assembly containing the type of the user control that will be hosted in a custom window.
- ControlClass
- A name of the user control type.
- Caption
- A text displayed as custom window title.
A new instance of IAgUiWindow. The IAgUiWindow interface provides methods and properties to manipulate the position and attributes of a custom window.
CreateNetToolWindow method creates a custom window that hosts an instance of the System.Windows.UserControl type. The method allows User Interface plugins written in .NET to host their custom user interfaces using the custom windows provided by the hosting environment.