Class Toggle
Inheritance
System.Object
System.MarshalByRefObject
Toggle
Implements
System.Runtime.Remoting.Messaging.IMessageSink
System.IDisposable
Inherited Members
System.MarshalByRefObject.CreateObjRef(System.Type)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: NXOpen.UIStyler
Assembly: NXOpenUI.dll
Syntax
public class Toggle : StylerItem, IMessageSink, IDisposable
Constructors
Toggle(IntPtr)
Declaration
protected Toggle(IntPtr ptr)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | ptr |
Properties
ItemValue
Declaration
public bool ItemValue { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Visibility
Declaration
public bool Visibility { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
AddValueChangedHandler(Toggle.ValueChanged, Boolean)
Declaration
public void AddValueChangedHandler(Toggle.ValueChanged valuechangedevent, bool isDialogLaunchingEvent)
Parameters
Type | Name | Description |
---|---|---|
Toggle.ValueChanged | valuechangedevent | |
System.Boolean | isDialogLaunchingEvent |
GetSensitivity()
Declaration
public bool GetSensitivity()
Returns
Type | Description |
---|---|
System.Boolean |
SetDefaultAction()
Declaration
public void SetDefaultAction()
SetFocus()
Declaration
public void SetFocus()
SetLabel(String)
Declaration
public void SetLabel(string strLabel)
Parameters
Type | Name | Description |
---|---|---|
System.String | strLabel |
SetSensitivity(Int32, Boolean)
Declaration
public void SetSensitivity(int subitemIndex, bool type)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | subitemIndex | |
System.Boolean | type |
Implements
System.Runtime.Remoting.Messaging.IMessageSink
System.IDisposable