I am not sure if this item has been addressed. If it has, I apologize for the overlapping post.
How do I add a button to the PageNavigatorAdapter? The public class does not appear to allow me to do this:
public class PageNavigatorAdapter : IPageViewToolBar
{
public PageNavigatorAdapter(BindingNavigator pNavigator);
public PageNavigatorAdapter(BindingNavigator pNavigator, bool pIsVisible);
public ToolStripItem AddNewItemButton { protected get; set; }
public bool AddNewItemEnabled { get; set; }
public bool AddNewItemVisible { get; set; }
public BindingSource BindingSource { get; set; }
public ToolStripItem DeleteItemButton { protected get; set; }
public bool DeleteItemEnabled { get; set; }
public bool DeleteItemVisible { get; set; }
public ToolStripItem EditItemButton { protected get; set; }
public bool EditItemEnabled { get; set; }
public bool EditItemVisible { get; set; }
public ToolStripItem SaveButton { protected get; set; }
public bool SaveEnabled { get; set; }
public bool SaveVisible { get; set; }
public bool Visible { get; set; }
public WorkItem WorkItem { get; set; }
public event EventHandler<EventArgs<object>> AddNewItemClick;
public event EventHandler<EventArgs<object>> DeleteItemClick;
public event EventHandler<EventArgs<object>> EditItemClick;
public event EventHandler SaveClick;
}
There are plenty of things to utilize for the existing buttons, but no room to add a new button. I really need this quite badly and I do not want to recreate a navigation toolbar wheel unless I have to. On second thought, if I did that then I could implement the DevExpress control in its place...hhmmm...
Thanks,
Bill
Edited by Linguinut - 06-Dec-2007 at 4:38pm