In this example we change the visibility of two buttons of the embedded navigator: Append
and Remove.
ControlNavigator navigator = gridControl1.EmbeddedNavigator;
navigator.Buttons.BeginUpdate();
try {
navigator.Buttons.Append.Visible = false;
navigator.Buttons.Remove.Visible = false;
}
finally {
navigator.Buttons.EndUpdate();
}
Dim navigator As ControlNavigator = GridControl1.EmbeddedNavigator
navigator.Buttons.BeginUpdate()
Try
navigator.Buttons.Append.Visible = False
navigator.Buttons.Remove.Visible = False
Finally
navigator.Buttons.EndUpdate()
End Try