Hi,
In my project am using UltraDocManger control for creating Docable panel. Based on requirement , need to restrict docable panel from draging.
i have tried AllowDrop Property to false, then also it is not working..
please help me.
Hello vinod,
You need to set the 'AllowDragging' property of the docked pane to 'False'.
Please feel free to let me know if a question about our tool set comes up on your mind.
i am not able to find AllowDragging property.Have a check in below code.
DockableControlPane dcpAppView; DockableControlPane dcpDocsView; DockableGroupPane dgpGroup; DockAreaPane dapControls;
UsrCntrlApplicationPanel usrApps = new UsrCntrlApplicationPanel(); dcpAppView = new DockableControlPane("apps", "Applications", usrApps); usrApps.BringToFront(); dcpAppView.MaximumSize = new System.Drawing.Size(200, 400);
UsrCntrlDocumentPanel usrDocs = new UsrCntrlDocumentPanel(); dcpDocsView = new DockableControlPane("Documents", "Documents", usrDocs); usrDocs.BringToFront(); dcpDocsView.MaximumSize = new System.Drawing.Size(200, 200);
dgpGroup = new DockableGroupPane(); dgpGroup.Panes.Add(dcpAppView); dgpGroup.Panes.Add(dcpDocsView); dgpGroup.ChildPaneStyle = ChildPaneStyle.HorizontalSplit; //dgpGroup.DefaultPaneSettings.BorderStylePane = Infragistics.Win.UIElementBorderStyle.Raised;// RaisedSoft;// Rounded4Thick;// Default; dgpGroup.DefaultPaneSettings.BorderStylePane = Infragistics.Win.UIElementBorderStyle.Rounded4;// RaisedSoft;// Rounded4Thick;// Default; dapControls = new DockAreaPane(DockedLocation.DockedRight);
dapControls.Size = new System.Drawing.Size(200, 200);
dapControls.Panes.Add(dgpGroup); // dapControls.MaximumSize = new System.Drawing.Size(200, 200);
dcpDocsView.Unpin(); dcpDocsView.FlyoutSize = new Size(200, 200);
dapControls.ShowChildPanes(); //this.DockManager.DockAreas.Clear(); this.ultraDockManagerDocPanels.DockAreas.Add(dapControls); ResumeLayout(false); PerformLayout();
Hello,
Did you try the property on the dcpDocsView.Settings or dcpAppView.Settings objects?
it is working fine.
sorry for late reply.
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.