windowsforms-devexpress-dot-xtraeditors-dot-controlnavigator.md
Gets or sets the control which is navigated by the ControlNavigator.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(null)]
[DXCategory("Behavior")]
public virtual INavigatableControl NavigatableControl { get; set; }
<DXCategory("Behavior")>
<DefaultValue(Nothing)>
Public Overridable Property NavigatableControl As INavigatableControl
| Type | Default | Description |
|---|---|---|
| DevExpress.XtraEditors.INavigatableControl | null |
An object implementing the INavigatableControl interface which is navigated by the ControlNavigator.
|
Use this property to bind the navigator to a control. This property can be set to any object that implements the DevExpress.XtraEditors.INavigatableControl interface.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the NavigatableControl 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.
winforms-create-editable-grid-lookup/CS/PopupContainerEditSelection/Form1.cs#L23
gridControl1.DataSource = FillDataTable();
controlNavigator1.NavigatableControl = gridControl1;
winforms-create-editable-grid-lookup/VB/PopupContainerEditSelection/Form1.vb#L18
gridControl1.DataSource = FillDataTable()
controlNavigator1.NavigatableControl = gridControl1
popupContainerControl1.Controls.Add(gridControl1)
See Also