Search Results for

    Show / Hide Table of Contents

    Class OptionToggle

    Inheritance
    System.Object
    System.MarshalByRefObject
    NXRemotableObject
    TransientObject
    StylerItem
    OptionToggle
    Implements
    System.Runtime.Remoting.Messaging.IMessageSink
    System.IDisposable
    Inherited Members
    StylerItem.FreeResource()
    StylerItem.GetItemType()
    StylerItem.InitializeAttachment()
    StylerItem.SetAttachment(Attachment)
    StylerItem.IsEqualTo(StylerItem)
    TransientObject.Dispose()
    TransientObject.ToString()
    TransientObject.PrintTestData(String)
    TransientObject.PrintTestData(String, Int32)
    TransientObject.Handle
    NXRemotableObject.initialize()
    NXRemotableObject.SyncProcessMessage(IMessage)
    NXRemotableObject.AsyncProcessMessage(IMessage, IMessageSink)
    NXRemotableObject.NextSink
    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 OptionToggle : StylerItem, IMessageSink, IDisposable

    Constructors

    OptionToggle(IntPtr)

    Declaration
    protected OptionToggle(IntPtr ptr)
    Parameters
    Type Name Description
    System.IntPtr ptr

    Properties

    Visibility

    Declaration
    public bool Visibility { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    AddActivateHandler(OptionToggle.Activate, Boolean)

    Declaration
    public void AddActivateHandler(OptionToggle.Activate activateevent, bool isDialogLaunchingEvent)
    Parameters
    Type Name Description
    OptionToggle.Activate activateevent
    System.Boolean isDialogLaunchingEvent

    AddValueChangedHandler(OptionToggle.ValueChanged, Boolean)

    Declaration
    public void AddValueChangedHandler(OptionToggle.ValueChanged valuechangedevent, bool isDialogLaunchingEvent)
    Parameters
    Type Name Description
    OptionToggle.ValueChanged valuechangedevent
    System.Boolean isDialogLaunchingEvent

    GetItems()

    Declaration
    public string[] GetItems()
    Returns
    Type Description
    System.String[]

    GetItemValue(out Boolean)

    Declaration
    public int GetItemValue(out bool setCheck)
    Parameters
    Type Name Description
    System.Boolean setCheck
    Returns
    Type Description
    System.Int32

    GetSensitivity()

    Declaration
    public bool GetSensitivity()
    Returns
    Type Description
    System.Boolean

    SetBitmaps(String[])

    Declaration
    public void SetBitmaps(string[] bitmaps)
    Parameters
    Type Name Description
    System.String[] bitmaps

    SetDefaultAction()

    Declaration
    public void SetDefaultAction()

    SetItems(String[])

    Declaration
    public void SetItems(string[] strListArray)
    Parameters
    Type Name Description
    System.String[] strListArray

    SetItemValue(Int32, Boolean)

    Declaration
    public void SetItemValue(int subitemIndex, bool setCheck)
    Parameters
    Type Name Description
    System.Int32 subitemIndex
    System.Boolean setCheck

    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
    In This Article
    Back to top Generated by DocFX