ToolStripControlHost.CausesValidation Property

Definition

Gets or sets a value indicating whether the hosted control causes and raises validation events on other controls when the hosted control receives focus.

public:
 property bool CausesValidation { bool get(); void set(bool value); };
public bool CausesValidation { get; set; }
member this.CausesValidation : bool with get, set
Public Property CausesValidation As Boolean

Property Value

true if the hosted control causes and raises validation events on other controls when the hosted control receives focus; otherwise, false. The default is true.

Applies to