Skip to main content
Bar

BarEditItemLink.CanOpenEdit Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
public virtual bool CanOpenEdit { get; }

Property Value

Type Description
Boolean

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

Remarks

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