This is a migrated thread and some comments may be shown as answers.

Resize event for RadPane

2 Answers 71 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Sampathkumar
Top achievements
Rank 1
Sampathkumar asked on 17 Nov 2009, 12:28 PM
Hi

    Is there any resize event in RadPane.

thanks
sampath

2 Answers, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 17 Nov 2009, 01:32 PM
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.

Regards,
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.
0
Michael Gaigg
Top achievements
Rank 1
answered on 21 Oct 2011, 10:15 PM
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);
        }
Tags
Docking
Asked by
Sampathkumar
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Michael Gaigg
Top achievements
Rank 1
Share this question
or