ErrorProvider.ContainerControl Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating the parent control for this ErrorProvider.
public:
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.
Remarks
Typically, this is the Form the data-bound controls reside on.