Richtextbox inside viewbox (net version)

Posted by: devcode.ou on 6 December 2023, 9:29 pm EST

  • Posted 6 December 2023, 9:29 pm EST

    Hi, i had this problem since i migrated to .net version,

    but i coudnt undesrtand what really was.

    Now i realizared that the problem is the richtextbox inside a viewbox.

    Hi attached a simply application:

    • the richtextbox is inside a viewbox
    • load the rtf text
    • you dont see nothing
    • if you go inside the richtextbox with the mouse the text will appear

    Remove the viewbox and everithing works fine

    I noticed that when you load the text “something appens to the viewbox”,

    if you remove the dimension of the grid (Height=“450” Width=“800”)

    you will clearly see that the viewbox loses the Stretch=“Uniform”.

    I wait your opinion, this is very important to me

    thanxWpfApp3.zip

  • Posted 7 December 2023, 8:04 pm EST

    Hi Beniamino,

    Thanks for providing the sample application that replicates the issue.

    We could observe the behavior on our end. This seems to be bug. Hence, we have escalated this to the developers. [Internal Tracking ID: C1XAML-35389]

    We will update you on this as soon as we hear back from them.

    Thanks & Regards,

    Aastha

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels