Class CamApiInspectorWindow
Wrapper over ICAMAPI_UIDialogWindow to hide delegates and make it easier to use
Inheritance
object
CamApiInspectorWindow
Namespace: CAMAPI.UIDialogs.DotnetHelper
Assembly: CAMAPI.UIDialogs.DotnetHelper.dll
Syntax
public class CamApiInspectorWindow : Object
Constructors
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
AddBooleanProperty(string, OnGetBooleanValue, OnSetBooleanValue)
Add boolean property to inspector
Declaration
public InspectorItems AddBooleanProperty(string caption, OnGetBooleanValue onGetBooleanValue, OnSetBooleanValue onSetBooleanValue)
Parameters
Type | Name | Description |
---|---|---|
string | caption | |
OnGetBooleanValue | onGetBooleanValue | |
OnSetBooleanValue | onSetBooleanValue |
Returns
Type | Description |
---|---|
InspectorItems | Index of item, injected into inspector |
AddDoubleProperty(string, OnGetDoubleValue, OnSetDoubleValue)
Add double property to inspector
Declaration
public InspectorItems AddDoubleProperty(string caption, OnGetDoubleValue onGetDoubleValue, OnSetDoubleValue onSetDoubleValue)
Parameters
Type | Name | Description |
---|---|---|
string | caption | |
OnGetDoubleValue | onGetDoubleValue | |
OnSetDoubleValue | onSetDoubleValue |
Returns
Type | Description |
---|---|
InspectorItems | Index of item, injected into inspector |
AddIntegerProperty(string, OnGetIntegerValue, OnSetIntegerValue)
Add integer property to inspector
Declaration
public InspectorItems AddIntegerProperty(string caption, OnGetIntegerValue onGetIntegerValue, OnSetIntegerValue onSetIntegerValue)
Parameters
Type | Name | Description |
---|---|---|
string | caption | |
OnGetIntegerValue | onGetIntegerValue | |
OnSetIntegerValue | onSetIntegerValue |
Returns
Type | Description |
---|---|
InspectorItems | Index of item, injected into inspector |
AddStringProperty(string, OnGetStringValue, OnSetStringValue)
Add string property to inspector
Declaration
public InspectorItems AddStringProperty(string caption, OnGetStringValue onGetStringValue, OnSetStringValue onSetStringValue)
Parameters
Type | Name | Description |
---|---|---|
string | caption | |
OnGetStringValue | onGetStringValue | |
OnSetStringValue | onSetStringValue |
Returns
Type | Description |
---|---|
InspectorItems | Index of item, injected into inspector |
Clear()
Release COM objects - mandatory to call
Declaration
public void Clear()
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 |
Show()
Show inspector window
Declaration
public TUIButtonType Show()
Returns
Type | Description |
---|---|
TUIButtonType | Button, user has choosen |