Back to Devexpress

How to: Create Breadcrumb Nodes at Design Time

windowsforms-114784-controls-and-libraries-editors-and-simple-controls-breadcrumb-edit-control-how-to-create-breadcrumb-nodes-at-design-time.md

latest904 B
Original Source

How to: Create Breadcrumb Nodes at Design Time

  • Jan 22, 2025

This example illustrates how to use the Breacrumb Node Editor to populate the BreadCrumbEdit control with nodes at design time.

  1. Invoke the BreadCrumbEdit smart tag and click the Edit Nodes… link. In the Node Editor that will appear click ‘Add Root’ or ‘Add Child’ buttons to add a root or child node respectively. Use up and down arrow buttons to re-arrange the nodes as required.

  2. Use the property grid to the editor’s right edge to customize your nodes (modify captions, values, assign images, make specific nodes persistent etc.).

  3. Optionally, specify the BreadCrumbEdit.SelectedNode property to set the initially selected node.