windowsforms-devexpress-dot-xtragrid-dot-gridcontrol-163d7c5a.md
Gets or sets whether the embedded data navigator is visible.
Namespace : DevExpress.XtraGrid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[Browsable(true)]
[DefaultValue(false)]
[DXCategory("Appearance")]
public virtual bool UseEmbeddedNavigator { get; set; }
<Browsable(True)>
<DefaultValue(False)>
<DXCategory("Appearance")>
Public Overridable Property UseEmbeddedNavigator As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true to make the embedded navigator visible; otherwise, false.
|
Set the UseEmbeddedNavigator property to true to display the embedded data navigator at the bottom of the grid control. Use the GridControl.EmbeddedNavigator property to access this navigator’s settings.
public Form1()
{
InitializeComponent();
//...
gridControl1.UseEmbeddedNavigator = true;
}
public Form1()
Public Sub New()
InitializeComponent()
'...
gridControl1.UseEmbeddedNavigator = True
End Sub
You can also use an external data navigator. Place a ControlNavigator control onto the form and use the ControlNavigator.NavigatableControl property to bind the control to your grid.
Watch Video: WinForms Grid: Adding a Popup Warning for Row Deletion
The following code snippets (auto-collected from DevExpress Examples) contain references to the UseEmbeddedNavigator 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-grid-data-navigator-custom-button/CS/CustomButton/Form1.cs#L20
gridControl1.UseEmbeddedNavigator = true;
gridControl1.EmbeddedNavigator.ButtonClick += new DevExpress.XtraEditors.NavigatorButtonClickEventHandler(gridControl1_EmbeddedNavigator_ButtonClick);
XDL_how-to-utilize-the-unboundsource-component-in-code-t474976/CS/UnboundDS-Code/Form1.cs#L14
CreateGridColumns();
gridControl1.UseEmbeddedNavigator = true;
winforms-grid-split-presentation/CS/Form1.cs#L56
if (!gsc.Horizontal)
gsc.SplitChildGrid.UseEmbeddedNavigator = true;
}
gridControl1.UseEmbeddedNavigator = true;
gridControl1.ForceInitialize();
winforms-grid-data-navigator-custom-button/VB/CustomButton/Form1.vb#L19
gridView1.OptionsSelection.MultiSelect = True
gridControl1.UseEmbeddedNavigator = True
AddHandler gridControl1.EmbeddedNavigator.ButtonClick, New DevExpress.XtraEditors.NavigatorButtonClickEventHandler(AddressOf gridControl1_EmbeddedNavigator_ButtonClick)
XDL_how-to-utilize-the-unboundsource-component-in-code-t474976/VB/UnboundDS-Code/Form1.vb#L16
CreateGridColumns()
gridControl1.UseEmbeddedNavigator = True
winforms-grid-split-presentation/VB/Form1.vb#L58
If (Not gsc.Horizontal) Then
gsc.SplitChildGrid.UseEmbeddedNavigator = True
End If
InitData()
gridControl1.UseEmbeddedNavigator = True
gridControl1.ForceInitialize()
See Also