ErrorProvider.ContainerControl Property


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

 property System::Windows::Forms::ContainerControl ^ ContainerControl { System::Windows::Forms::ContainerControl ^ get(); void set(System::Windows::Forms::ContainerControl ^ value); };
public System.Windows.Forms.ContainerControl ContainerControl { get; set; }
public System.Windows.Forms.ContainerControl? ContainerControl { get; set; }
member this.ContainerControl : System.Windows.Forms.ContainerControl with get, set
Public Property ContainerControl As 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.

Applies to