Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarEditItemLink.CanOpenEdit Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.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