We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Docking Manager on runtime question

Is there events by which i can handle the adding and removing of controls to/from DockingManager? How can I get the numbers of the controls docked in the DockingManager instance?thanks in advance

3 Replies

AD Administrator Syncfusion Team February 16, 2004 07:37 PM UTC

Hi, In the present architecture of our docking windows framework, there are no events to handle the adding/removing controls to/from the DockingManager''s Controls list. However we could consider this as feature request for a future release of Essential Tools. You could find out the number of controls present in the DockingManager''s Controls list by using the below code : int count = 0; IEnumerator ienum = this.dockingManager1.Controls; while(ienum.MoveNext()) count++; The value of the variable "count" would give you the total number of controls associated with the DockingManager. Please let me know if you need any additional information. Regards, Guru Patwal Syncfusion, Inc.


SS Slim Shady February 17, 2004 05:43 AM UTC

hi there, sure i can use this way to handle my situation but please have in mind that u need to have events for each such operation with all the managers in EST (is u want to go further with this tools:-) as u did ''till now.because otherwise in runtime work with the tools the poor dev need to do some rope-walker stuff to handle the things best regards >Hi, > >In the present architecture of our docking windows framework, there are no events to handle the adding/removing controls to/from the DockingManager''s Controls list. However we could consider this as feature request for a future release of Essential Tools. > >You could find out the number of controls present in the DockingManager''s Controls list by using the below code : > >int count = 0; >IEnumerator ienum = this.dockingManager1.Controls; >while(ienum.MoveNext()) > count++; > >The value of the variable "count" would give you the total number of controls associated with the DockingManager. Please let me know if you need any additional information. > >Regards, >Guru Patwal >Syncfusion, Inc.


AD Administrator Syncfusion Team February 17, 2004 11:30 AM UTC

Hi, Thanks for your suggestion. We have considered this as a feature request (QA #393) for a future release of Essential Suite. Thanks for choosing Syncfusion products, and we appreciate your feedback very much. Regards, Guru Patwal Syncfusion, Inc.

Loader.
Up arrow icon