Welcome to the Xceed Community | Help
Community Search  
More Search Options

SmartExplorerTaskPane Close Other Group Tasks?

Sort Posts: Previous Next
  •  07-16-2009, 12:11 AM Post no. 22647

    SmartExplorerTaskPane Close Other Group Tasks?

    Any way in a coding style to close other groups if someone opens one group?

     I have the following:

    Group1

    task

    task

    Group2

    task

    task 

    Group3

    task

    task

     If someone opens Group1 I check to see if group 2 or 3 are open and I want them to forcibly close (minimize), I tried using group2.expand = false thinking that might do it, but it doesn't.

     

  •  01-21-2010, 2:07 PM Post no. 25505 in reply to 22647

    Re: SmartExplorerTaskPane Close Other Group Tasks?

    Hi,

    You could iterate over your SmartExplorerTaskPane.Items’ collection, cast the item into a Group and inspect the Group’s Expanded state. If the Group is not the current one and is not expanded, you could then set the expanded property to True to open it.


    Xceed - Software Developer and Technical Support
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.