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 |
Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
settings | Action<DevExpress.XtraDialogs.FileExplorerExtensions.BreadCrumbExtension> | null | A delegate that sets up the newly created |
Returns
Type | Description |
---|---|
DevExpress.XtraDialogs.FileExplorerExtensions.BreadCrumbExtension | The newly created |
Remarks
brEx = fileExplorerAssistant1.Attach(breadCrumbEdit1, x => {
x.CurrentPath = @"C:\Windows";
x.CurrentItemChanged += OnCurrentBreadcrumbItemChanged;
// Other settings
});
See Also