Back to Devexpress

BarEditItemLink.CancelEditor() Method

windowsforms-devexpress-dot-xtrabars-dot-baredititemlink-c6faef1d.md

latest1.1 KB
Original Source

BarEditItemLink.CancelEditor() Method

Closes the item link editor without saving changes to the item editor.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public virtual void CancelEditor()
vb
Public Overridable Sub CancelEditor

Remarks

Unlike the BarEditItemLink.HideEditor method which simply closes the editor of an item link, the CancelEditor method discards any changes and restores the original item value(s).

See Also

BarEditItemLink Class

BarEditItemLink Members

DevExpress.XtraBars Namespace