Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ErrorProvider.ContainerControl Property

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

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

Property Value

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

Remarks

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

Requirements

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.