Docking Tab for WinForms | ComponentOne
C1.Win.Command Namespace / C1ContextMenu Class / SetBoolean Method

In This Topic
    SetBoolean Method (C1ContextMenu)
    In This Topic
    Returns true if the change has actually been made and the control is not initializing (i.e. on change should be fired)
    Syntax
    'Declaration
     
    
    Protected Function SetBoolean( _
       ByRef oldValue As Boolean, _
       ByVal newValue As Boolean _
    ) As Boolean
    protected bool SetBoolean( 
       ref bool oldValue,
       bool newValue
    )

    Parameters

    oldValue
    newValue
    See Also