AutoResize problem withTextOptions.TextFormattingMode

2 posts, 0 answers
  1. Giliador
    Giliador avatar
    1 posts
    Member since:
    Jul 2012

    Posted 25 Jan 2013 Link to this post

    I'm using RadWindow as ModalDialog in a WPF application. The content of the window expands with Expander.
    When I set RadWindow property TextOptions.TextFormattingMode="Display", window stops to change its size automatically and cut my content.

    Without setting this property, auto resizing works fine.

    Example for reproducing a bug:
    <telerik:RadWindow x:Class="TelerikSamples.RadWindowTest"
            <Expander Header="Expand me">
                    <TextBlock Text="Text1"/>
                    <TextBlock Text="Text2"/>
                    <TextBlock Text="Text3"/>

  2. Vladi
    Vladi avatar
    749 posts

    Posted 30 Jan 2013 Link to this post


    It seems that there is a bug in RadWindow when the TextOptions.TextFormattingMode attached property is set to Display.

    We logged the issue in our Public Issue Tracker System where you can vote for it and track its status. As a workaround I would suggest you to set that attached property to the controls inside the Window instead on the RadWindow.

    I updated your Telerik points for bringing this to our attention.

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top