Back to Devexpress

ControlNavigator.NavigatableControl Property

windowsforms-devexpress-dot-xtraeditors-dot-controlnavigator.md

latest2.8 KB
Original Source

ControlNavigator.NavigatableControl Property

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

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Behavior")]
public virtual INavigatableControl NavigatableControl { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(Nothing)>
Public Overridable Property NavigatableControl As INavigatableControl

Property Value

TypeDefaultDescription
DevExpress.XtraEditors.INavigatableControlnull

An object implementing the INavigatableControl interface which is navigated by the ControlNavigator.

|

Remarks

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

csharp
gridControl1.DataSource = FillDataTable();
controlNavigator1.NavigatableControl = gridControl1;

winforms-create-editable-grid-lookup/VB/PopupContainerEditSelection/Form1.vb#L18

vb
gridControl1.DataSource = FillDataTable()
controlNavigator1.NavigatableControl = gridControl1
popupContainerControl1.Controls.Add(gridControl1)

See Also

ControlNavigator Class

ControlNavigator Members

DevExpress.XtraEditors Namespace