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

In This Topic
    OnStateChanged Method (TextElement)
    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 Element.Visible, Element.Enabled, etc.
    See Also