Splitter Collapsible in urgency

2 posts, 0 answers
  1. ksk
    ksk avatar
    7 posts
    Member since:
    Nov 2008

    Posted 01 Apr 2009 Link to this post

    How can i  make collapsible splitter in windows application.I need the control should be collapsible.Please help me in this case.And send me the sample project for working collapsible splitter in windows applications.

    Thanks in advance,
    Santhose Kumar.
  2. Mike
    Mike avatar
    640 posts

    Posted 03 Apr 2009 Link to this post


    Recently other customers requested functionality similar to the collapsible settings panel in our Demo application. I have prepared a sample that demonstrates it (attached). I am not entirely sure it would fit your scenario but you can consider extending it.

    Here is how it works. First I added RadPanel with back ground image and a customized SplitContainer control. It is customized to use double buffering when painting its inner Panels. Otherwise main content panel will flicker a lot when repainting, and this is great issue if you a re using any animations. Then I added RadSplitter control. Nothing special here - this control simply resembles a splitter control with an arrow that show the direction of expanding/collapsing. The main expand/collapse functionality is carried out by the SplitContainer.

    To animate the side panel I used AnimateWindow win32 API method. The only quirk is that it expects the target window to be hidden prior to animating.

    For you information, a new RadSplitContainer control with more functionality will be available in Q2, along with the new docking system we are currently developing.

    Let me know if this does the job.

    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  3. DevCraft banner
Back to Top