TreeView for WinForms | ComponentOne
C1.Framework Namespace / ValueElement Class / OnStateChanged Method
Element.ElementFlags that contains the state before the change.

In This Topic
    OnStateChanged Method (ValueElement)
    In This Topic
    Called by the host control when the state of this Element changes.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub OnStateChanged( _
       ByVal oldFlags As Element.ElementFlags _
    ) 
    protected virtual void OnStateChanged( 
       Element.ElementFlags oldFlags
    )

    Parameters

    oldFlags
    Element.ElementFlags that contains the state before the change.
    Remarks
    The state of an element is represented by a combination of Element.ElementFlags values. Each individual flag is represented by a specific property, including Visible, Enabled, etc.
    See Also