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

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

    Parameters

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