Class OptionToggle
Assembly: NXOpenUI.dll
Syntax
public class OptionToggle : StylerItem, IMessageSink, IDisposable
Constructors
OptionToggle(nint)
Declaration
protected OptionToggle(nint ptr)
Parameters
Type |
Name |
Description |
nint |
ptr |
|
Properties
Visibility
Declaration
public bool Visibility { get; set; }
Property Value
Methods
AddActivateHandler(Activate, bool)
Declaration
public void AddActivateHandler(OptionToggle.Activate activateevent, bool isDialogLaunchingEvent)
Parameters
AddValueChangedHandler(ValueChanged, bool)
Declaration
public void AddValueChangedHandler(OptionToggle.ValueChanged valuechangedevent, bool isDialogLaunchingEvent)
Parameters
GetItemValue(out bool)
Declaration
public int GetItemValue(out bool setCheck)
Parameters
Type |
Name |
Description |
bool |
setCheck |
|
Returns
GetItems()
Declaration
public string[] GetItems()
Returns
GetSensitivity()
Declaration
public bool GetSensitivity()
Returns
SetBitmaps(string[])
Declaration
public void SetBitmaps(string[] bitmaps)
Parameters
Type |
Name |
Description |
string[] |
bitmaps |
|
SetDefaultAction()
Declaration
public void SetDefaultAction()
SetItemValue(int, bool)
Declaration
public void SetItemValue(int subitemIndex, bool setCheck)
Parameters
Type |
Name |
Description |
int |
subitemIndex |
|
bool |
setCheck |
|
SetItems(string[])
Declaration
public void SetItems(string[] strListArray)
Parameters
Type |
Name |
Description |
string[] |
strListArray |
|
SetLabel(string)
Declaration
public void SetLabel(string strLabel)
Parameters
Type |
Name |
Description |
string |
strLabel |
|
SetSensitivity(int, bool)
Declaration
public void SetSensitivity(int subitemIndex, bool type)
Parameters
Type |
Name |
Description |
int |
subitemIndex |
|
bool |
type |
|
Implements
System.Runtime.Remoting.Messaging.IMessageSink