|
Hi,
Please accept our apologises for the delayed response!
>> Can I remove all header buttons from the dock panel to disable user to hide/move/maximize it?
To solve this issue you can create new WindowController, inherit the controller from XafariDockingWebWindowController and sign event DockPanelTemplateCreated:
public partial class YourWindowController : XafariDockingWebWindowController
{
public YourWindowController()
{
InitializeComponent();
this.DockPanelTemplateCreated += YourWindowController_DockPanelTemplateCreated;
}
void YourWindowController_DockPanelTemplateCreated(object sender, Xafari.DockPanels.DockPanelItemEventArgs e)
{
var webDockPanel = e.DockPanelItem.Model as IModelDockPanelWeb;
if (webDockPanel == null) return;
webDockPanel.ShowCloseButton = false;
webDockPanel.ShowCollapseButton = false;
webDockPanel.ShowPinButton = false;
}
}
We hope you find this information helpful.
Let us know if you need further assistance.
Best regards,
Sasha.
|