Even though the "Delete" button may noy be initially enabled, you should be able to enable it by running the DevEx Designer, selecting the Feature Browser, and checking the checkbox for "UseEmbeddedNavigator" Property. Once you do this, you should have access to the EmbeddedNavigator Buttons. Sekect the "Remove" button and set "Enabled" to "True".
You will probably want a Click Handler to handle Click Events for the Embedded Navigator buttons.
I used this code to set up the Click Handler.
this.gridControl1.EmbeddedNavigator.ButtonClick += new DevExpress.XtraEditors.NavigatorButtonClickEventHandler(EmbeddedNavigator_ButtonClick);
This is the default Click Handler I created:
void EmbeddedNavigator_ButtonClick(object sender, DevExpress.XtraEditors.NavigatorButtonClickEventArgs e) {
throw new Exception("The method or operation is not implemented.");
}
If you look at e, you will see that it contains a Button which has a property called ButtonTYpe.
For more details see:
Edited by davidklitzke - 23-Jun-2008 at 3:27pm