How to: Hide Specific Buttons in the Embedded Navigator

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();
    }