Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Graphics Namespace / Material Class / OnKeyChanged Method
The new Name
The property name that represent the key for the related keyed collections.

In This Topic
    OnKeyChanged Method (Material)
    In This Topic
    When the Name changes I need to notify it to the related keyed collections before changing it.
    Syntax
    'Declaration
     
    Protected Overridable Sub OnKeyChanged( _
       ByVal newKey As String, _
       Optional ByVal propertyName As String _
    ) 
    protected virtual void OnKeyChanged( 
       string newKey,
       string propertyName
    )

    Parameters

    newKey
    The new Name
    propertyName
    The property name that represent the key for the related keyed collections.
    See Also