Skip to main content
All docs
V24.1

FileExplorerAssistant.Attach(BreadCrumbEdit, Action<BreadCrumbExtension>) Method

Creates a new BreadCrumbExtension and attaches it to the target Breadcrumb Edit.

Namespace: DevExpress.XtraDialogs

Assembly: DevExpress.XtraDialogs.v24.1.dll

NuGet Packages: DevExpress.Win.Dialogs, DevExpress.Win.Navigation

Declaration

public BreadCrumbExtension Attach(
    BreadCrumbEdit breadCrumb,
    Action<BreadCrumbExtension> settings = null
)

Parameters

Name Type Description
breadCrumb BreadCrumbEdit

The BreadCrumbEdit that should be managed by the newly created BreadCrumbExtension.

Optional Parameters

Name Type Default Description
settings Action<DevExpress.XtraDialogs.FileExplorerExtensions.BreadCrumbExtension> null

A delegate that sets up the newly created BreadCrumbExtension.

Returns

Type Description
DevExpress.XtraDialogs.FileExplorerExtensions.BreadCrumbExtension

The newly created BreadCrumbExtension.

Remarks

brEx = fileExplorerAssistant1.Attach(breadCrumbEdit1, x => {
    x.CurrentPath = @"C:\Windows";
    x.CurrentItemChanged += OnCurrentBreadcrumbItemChanged;
    // Other settings
});
See Also