BarItem.CausesValidation Property
Gets or sets whether data validation is performed on the currently focused control when clicking on the bar item.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v22.2.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[DefaultValue(false)]
[DXCategory("Behavior")]
public virtual bool CausesValidation { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | false | true if data validation is performed on the currently focused control when clicking on the bar item; otherwise, false |
Remarks
If the CausesValidation property is set to true, a click on the bar item invokes the ValidateChildren() method. See this topic in MSDN to learn more.
See Also