Bearbeiten

Freigeben über


ErrorProvider.ContainerControl Property

Definition

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.

Applies to