BarEditItemLink.CanOpenEdit Property

Gets a value indicating whether an editor can be activated for this link.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll


public virtual bool CanOpenEdit { get; }
Public Overridable ReadOnly Property CanOpenEdit As Boolean

Property Value

Type Description

true if the editor specified by the corresponding item can be activated in this link; otherwise false.


Editor cannot be opened within a link if at least one of the following conditions is met:

  • No editor is assigned to the item representing this link. (The BarEditItem.Edit property is null (Nothing in Visual Basic)).
  • This link is disabled. (The BarItem.Enabled property of the corresponding item is set to false.)
  • The BarEditItem.CanOpenEdit property is set to false.

Use the CanOpenEdit property to determine whether the editor within a specific link can be opened. The editor can be opened programmatically via a BarEditItemLink.ShowEditor method call.

See Also