hi, I have question.
1. How can i disallow that DockAreaPane attach to HostControl?
2. How can i it doesn't show that Drag Indicator when DoackAreaPane try to attach HostControl?
Hello ,
I am glad to hear that you were able to solve your issue.
Please do not hesitate to contact with us if you have any further questions.
I have resolved using another method.
Thank u for your help!
Hello,
I am just checking about the progress of this issue. Let me know If you need my further assistance on this issue?
Thank you for using Infragistics Components.
Hello,
DragIndicator are displayed based on the DragWindowStyle property of UltraDockManager, more about this property and available values you will find on the following links:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.2/CLR4.0/html/Infragistics4.Win.UltraWinDock.v12.2~Infragistics.Win.UltraWinDock.UltraDockManager~DragWindowStyle.html http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.2/CLR4.0/html/Infragistics4.Win.UltraWinDock.v12.2~Infragistics.Win.UltraWinDock.DragWindowStyle.html
so you could use PaneActivate event for example where you could manage this property based on allowed docked sides. You could use code like:
if (e.Pane.Settings.AllowDockTop == Infragistics.Win.DefaultableBoolean.False
&& e.Pane.Settings.AllowDockLeft == Infragistics.Win.DefaultableBoolean.False
&& e.Pane.Settings.AllowDockRight == Infragistics.Win.DefaultableBoolean.False
&& e.Pane.Settings.AllowDockBottom == Infragistics.Win.DefaultableBoolean.False)
ultraDockManager1.DragWindowStyle = Infragistics.Win.UltraWinDock.DragWindowStyle.Outline;
else
ultraDockManager1.DragWindowStyle = Infragistics.Win.UltraWinDock.DragWindowStyle.OutlineWithIndicators;
Please let me know if you have any further questions.
Hi, Hristo.
In the first place, thank you for your answer.
I just only disable docking sides in case of pane attach to HostControl. are you understand?
In other words, I wanna allow docking just between DockAreaPaneand DockAreaPane. ok?
So, I wanna hide DragIndicator when DockAreaPane attach to HostControl.
How can i hide DragIndicator when DockAreaPane attach to HostControl?