Class CamApiInspectorWindow
Wrapper over ICAMAPI_UIDialogWindow to hide delegates and make it easier to use
Inheritance
object
CamApiInspectorWindow
Implements
System.IDisposable
Namespace: CAMAPI.UIDialogs.DotnetHelper
Assembly: CAMAPI.UIDialogs.DotnetHelper.dll
Syntax
public class CamApiInspectorWindow : Object, IDisposable
Constructors
CamApiInspectorWindow(IExtensionInfo)
Create instance, when we have access to extension manager. He already knows how to create instances of ICAMAPI_UIDialogWindow
Declaration
public CamApiInspectorWindow(IExtensionInfo extensionInfo)
Parameters
Type | Name | Description |
---|---|---|
IExtensionInfo | extensionInfo |
CamApiInspectorWindow(IExtensionManager)
Create instance, when we have access to extension manager. He already knows how to create instances of ICAMAPI_UIDialogWindow
Declaration
public CamApiInspectorWindow(IExtensionManager extensionManager)
Parameters
Type | Name | Description |
---|---|---|
IExtensionManager | extensionManager |
Properties
Caption
Title of the window
Declaration
public string Caption { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
Dispose()
Release COM objects
Declaration
public void Dispose()
SetButtons(ushort)
Set buttons to inspector. Use TUIButtonType, cast to ushort, to set buttons
Declaration
public void SetButtons(ushort buttons)
Parameters
Type | Name | Description |
---|---|---|
ushort | buttons |
SetPropIterator(SimplePropIterator)
Set iterator to inspector. Use SimplePropIterator to create wrapperIterator
Declaration
public void SetPropIterator(SimplePropIterator wrapperIterator)
Parameters
Type | Name | Description |
---|---|---|
SimplePropIterator | wrapperIterator |
SetPropIterator(IST_CustomPropIterator)
Set iterator to inspector
Declaration
public void SetPropIterator(IST_CustomPropIterator iterator)
Parameters
Type | Name | Description |
---|---|---|
IST_CustomPropIterator | iterator |
SetPropIteratorGetter(IPropIteratorGetter)
Set iterator to inspector
Declaration
public void SetPropIteratorGetter(IPropIteratorGetter propIteratorGetter)
Parameters
Type | Name | Description |
---|---|---|
IPropIteratorGetter | propIteratorGetter |
Show()
Show inspector window
Declaration
public TUIButtonType Show()
Returns
Type | Description |
---|---|
TUIButtonType | Button, user has chosen |
Implements
System.IDisposable