Bar
A newer version of this page is available. Switch to the current version.

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.v19.1.dll

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