// Removes a toolbarl panel from the main toolbar public void RemoveToolbarPanel(IToolbarPanel panel) { this.toolbarHost.Children.Remove((ToolbarPanel)panel); }
// Adds a toolbar panel to the main toolbar public void AddToolbarPanel(IToolbarPanel panel) { this.toolbarHost.Children.Add((ToolbarPanel)panel); }