Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > Window > RadWindow Autosize on runtime

Not answered RadWindow Autosize on runtime

Feed from this thread
  • Posted on Sep 30, 2011 (permalink)

    Hello guys,

    I have created a RadWindow as a User Control and It has ResizeMode="NoResize" and SizeToContent="True". Inside the content I have an Stackpanel that is collapsed and when I turn It visible on runtime, the content below is hidden because the RadWindow doesn't resize, how can I achieve It?

    Reply

  • Miroslav Nedyalkov Miroslav Nedyalkov admin's avatar

    Posted on Oct 3, 2011 (permalink)

    Hi Dasaev,

    I tried your scenario and I was able to reproduce the problem. The issue is that the SizeToContent feature of the RadWindow control for WPF works only for the first time the RadWindow control renders. This is because it sets its Width and Height properties as a work-around for a bug in the WPF Window control (which we use as a host). We will try to find a better way to work around the other problem. Here is a PITS item which you can use to vote for the issue.

    Best wishes,
    Miroslav Nedyalkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

  • Donald avatar

    Posted on Nov 17, 2011 (permalink)

    Has there been some kind of change in this issue? I believe I'm having the same problem in my application. 

    Reply

  • Miroslav Nedyalkov Miroslav Nedyalkov admin's avatar

    Posted on Nov 18, 2011 (permalink)

    Hello Donald,

    This issue is not fixed. The PITS item was also updated to resolved state. You can find the fix in the 2011 Q3 release.

    Kind regards,
    Miroslav Nedyalkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > Window > RadWindow Autosize on runtime
Related resources for "RadWindow Autosize on runtime"

WPF Window Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]