BarEditItemLink.ShowEditor() Method
Activates this link’s editor.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Remarks
Use the ShowEditor method to activate this link’s editor programmatically. The editor is activated if the following conditions are met:
- The BarEditItemLink.CanOpenEdit property returns true.
- The link is currently visible. (For instance, the edit link may not be visible if the owning bar is oriented vertically, and its BarOptions.RotateWhenVertical option is enabled.)
- The ItemCancelEventArgs.Cancel parameter of the BarEditItem.ShowingEditor event is not set to true. This event is raised when activating the editor via the mouse, or calling the ShowEditor method. The ItemCancelEventArgs.Cancel parameter allows you to prohibit editor activation.
After the editor has been activated, the BarEditItem.ShownEditor event of the corresponding item is raised.
To access the currently active editor, use the BarManager.ActiveEditor property.
See Also