This documentation is archived and is not being maintained.

ErrorProvider.ContainerControl Property

Gets or sets a value indicating the parent control for this ErrorProvider.

[Visual Basic]
Public Property ContainerControl As ContainerControl
public ContainerControl ContainerControl {get; set;}
public: __property ContainerControl* get_ContainerControl();
public: __property void set_ContainerControl(ContainerControl*);
public function get ContainerControl() : ContainerControl;
public function set ContainerControl(ContainerControl);

Property Value

The ContainerControl that contains the controls that the ErrorProvider is attached to.


Typically, this is the Form the data-bound controls reside on.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ErrorProvider Class | ErrorProvider Members | System.Windows.Forms Namespace