Hello.. Thank you for providing good information.use infragistics 11.2
I want. User controls (buttons) to add the caption area ULtraWindock.UltraDockManager ControlPane ...Is this possible?
Hello,
If you want to add additional buttons in the caption area of dock pane, you could use Creation Filter. In the AfterCreateChildElements method of the interface you could adjust the size of the TextUIElelemnt that contains the caption, so that it can fit another button. After that add a ButtonUIElement to the child elements collection of the PaneCaptionUIElement of the UltraDockManager. If you want to know more about Creation Filters please visit this link:
http://help.infragistics.com/Help/Doc/WinForms/2012.2/CLR4.0/html/Win_Creation_Filter.html
I have attached a sample which demonstrates this suggestion.
Please let me know if you have any additional questions.
Thank you for answer.
I have attached a sample you are using a different version of it is.
I use..Infragistics2.Win.UltraWinDock.v11.2VB.NET 2008
I get a different version of the sample again?
Thank you...
Added separately to each of the caption area and would like to control.
Thank you for the additional clarification, I’ve modified my sample with Infragistics v11.2, Visual Basic and Visual Studio 2008. Also if I understand you correctly, you want to be able choose the panes, on which button will be added. I have implemented this functionality and also you can now add or remove buttons from the pane caption in runtime. To do that I added a DockedLocation list property to the implementation of IUIElelementCreationFilter interface, which indicates which DockAreaPane should display button in its caption.
Thank you very much.
Modify the position and width of the button...I will try directly..
If I have any questions, I'll question again.
Thank you ...