System.ComponentModel.PropertyDescriptor.GetValueChangedHandler C# (CSharp) Method

GetValueChangedHandler() protected method

Return current set of ValueChanged event handlers for a specific component, in the form of a combined multicast event handler. Returns null if no event handlers currently assigned to component.
protected GetValueChangedHandler ( object component ) : EventHandler
component object
return EventHandler
        internal protected EventHandler GetValueChangedHandler(object component)
        {
            if (component != null && _valueChangedHandlers != null)
            {
                return (EventHandler)_valueChangedHandlers[component];
            }
            else
            {
                return null;
            }
        }