DekGenius.com
[ Team LiB ] Previous Section Next Section

ControlEventArgs

System.Windows.Forms (system.windows.forms.dll)class

These are the EventArgs for the ControlAdded and ControlRemoved events, raised by a Control when objects are added to, or removed from, its ControlCollection. You can retrieve the identity of the object affected by using the Control property.

public class ControlEventArgs : EventArgs {
// Public Constructors
   public ControlEventArgs(Control control);
// Public Instance Properties
   public Control Control{get; }
}

Hierarchy

System.Object System.EventArgs ControlEventArgs

Passed To

Control.{OnControlAdded(), OnControlRemoved()}, ControlEventHandler.{BeginInvoke(), Invoke()}

    [ Team LiB ] Previous Section Next Section