Adds an event handler for the invalidate event. The invalidate event occurs when the Invalidate method is called on some part of the control's client area. This event may be used to identify when the contents of a window have changed.
[Visual Basic] Overridable Public Sub AddOnInvalidate( _ ByVal handler As InvalidateEventHandler _ ) [C#] public virtual void AddOnInvalidate( InvalidateEventHandler handler ); [C++] public: virtual void AddOnInvalidate( InvalidateEventHandler* handler ); [JScript] public function AddOnInvalidate( handler : InvalidateEventHandler );
RichControl Class | RichControl Members | System.WinForms Namespace | RemoveOnInvalidate