TreeView for WinForms | ComponentOne
C1.Framework Namespace / PathIconElement Class / OnIconChanged Method
The changed icon.
The System.ComponentModel.PropertyChangedEventArgs object.

In This Topic
    OnIconChanged Method (PathIconElement)
    In This Topic
    Updates element properties on icon property changes.
    Syntax
    'Declaration
     
    
    Protected Overrides Sub OnIconChanged( _
       ByVal icon As C1Icon, _
       ByVal e As PropertyChangedEventArgs _
    ) 
    protected override void OnIconChanged( 
       C1Icon icon,
       PropertyChangedEventArgs e
    )

    Parameters

    icon
    The changed icon.
    e
    The System.ComponentModel.PropertyChangedEventArgs object.
    Remarks
    Implement it in derived classes for proper element initialization and update.
    See Also