Skip to main content

BreadCrumbNode.PopulateOnDemand Property

Gets or sets whether this BreadCrumbNode can raise the RepositoryItemBreadCrumbEdit.QueryChildNodes event.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(false)]
[DXCategory("Behavior")]
public bool PopulateOnDemand { get; set; }

Property Value

Type Default Description
Boolean false

true if this BreadCrumbNode can raise the RepositoryItemBreadCrumbEdit.QueryChildNodes event; otherwise, false.

Remarks

If an end-user clicks the drop-down button of a node whose PopulateOnDemand property equals true, the RepositoryItemBreadCrumbEdit.QueryChildNodes event will occur. This event allows you to modify the BreadCrumbNode.ChildNodes collection of a node that caused the event. You can handle this event to dynamically populate your BreadCrumbNodes. See the Breadcrumb Edit Control topic and How To: Create a File Explorer example to learn more.

The following code snippets (auto-collected from DevExpress Examples) contain references to the PopulateOnDemand 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