Class CamApiInspectorWindow
Wrapper over ICAMAPI_UIDialogWindow to hide delegates and make it easier to use
Implements
Inherited Members
Namespace: CAMAPI.UIDialogs.DotnetHelper
Assembly: CAMAPI.UIDialogs.DotnetHelper.dll
Syntax
public class CamApiInspectorWindow : IDisposableConstructors
CamApiInspectorWindow()
Create instance, when we have access to extension manager. He already knows how to create instances of ICAMAPI_UIDialogWindow
Declaration
public CamApiInspectorWindow()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 | 
Show(OnDialogWindowClose)
Show inspector window
Declaration
public void Show(OnDialogWindowClose onClose)Parameters
| Type | Name | Description | 
|---|---|---|
| OnDialogWindowClose | onClose |