Skip to main content

BreadCrumbNode.Caption Property

Gets or sets this BreadCrumbNode‘s caption.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue("")]
[DXCategory("Appearance")]
public string Caption { get; set; }

Property Value

Type Default Description
String String.Empty

A String value that is this BreadCrumbNode‘s caption.

Remarks

The Caption property specifies the node caption, which can be displayed or hidden depending on the BreadCrumbNode.ShowCaption property.

Node captions are displayed at runtime when the BreadCrumbEdit control is in Select mode (see the RepositoryItemBreadCrumbEdit.BreadCrumbMode property). However, when the control is in Edit mode, to navigate through nodes, an end-user has to type these nodes’ values (the BreadCrumbNode.Value property). Thus, it’s not recommended to assign different values to the Caption and BreadCrumbNode.Value properties, which are equal by default.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Caption property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also