Resize event for RadPane

3 posts, 0 answers
  1. Sampathkumar
    Sampathkumar avatar
    47 posts
    Member since:
    Apr 2009

    Posted 17 Nov 2009 Link to this post


        Is there any resize event in RadPane.

  2. Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 17 Nov 2009 Link to this post

    Hi Sampathkumar,

    There is a SizeChanged event of the RadPane, but as the RadPane itself is just the button with the Header of the Pane most probably it won't help you.

    What I would suggest you is to use the SizeChanged event of the Content of the RadPane.

    Hope this helps.

    Miroslav Nedyalkov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Michael Gaigg
    Michael Gaigg avatar
    9 posts
    Member since:
    Dec 2009

    Posted 21 Oct 2011 Link to this post

    in the case of a floating panel you can hook into the parent RadPaneGroup:

                RadPaneGroup paneGroup = (RadPaneGroup)this.pane.Parent;
                paneGroup.SizeChanged += pane_SizeChanged;

            void pane_SizeChanged(object sender, System.Windows.SizeChangedEventArgs e)
                this.UpdateSize(e.NewSize.Width, e.NewSize.Height);
Back to Top