ErrorProvider::ContainerControl Property

 

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
property ContainerControl^ ContainerControl {
	[UIPermissionAttribute(SecurityAction::LinkDemand, Window = UIPermissionWindow::AllWindows)]
	[UIPermissionAttribute(SecurityAction::InheritanceDemand, Window = UIPermissionWindow::AllWindows)]
	ContainerControl^ get();
	void set(ContainerControl^ value);
}

Property Value

Type: System.Windows.Forms::ContainerControl^

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

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

UIPermission

for the immediate caller to get the value of this property. Associated enumeration: UIPermissionWindow::AllWindows

UIPermission

for derived classes to override this property. Associated enumeration: UIPermissionWindow::AllWindows

.NET Framework
Available since 1.1
Return to top
Show: