IContainerControl

IContainerControl

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

Any derived Control object can be made to contain other controls. In addition to setting the ControlStyles.ContainerControl , you should implement this interface to support the management and activation of child controls.

The current ActiveControl can be set or retrieved, and you should implement ActivateControl() to allow the framework to activate a particular child.

 public interface  IContainerControl  {  // Public Instance Properties  public Control  ActiveControl  {set; get; }  // Public Instance Methods  public bool  ActivateControl  (Control  active  ); } 

Implemented By

ContainerControl

Returned By

Control.GetContainerControl()



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net