SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

When a xaml file contains a mass of controls, the adorner of the control appears in a wrong position in wpf designer.

Last post 04-08-2016 10:54 PM by jogibear9988. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 07-31-2014 4:48 PM

    • Fidel
    • Not Ranked
    • Joined on 07-31-2014
    • Posts 3

    When a xaml file contains a mass of controls, the adorner of the control appears in a wrong position in wpf designer.

    Version 4.4.1, 4.4.2 both reappear the bug. I don’t have .net4.5 on my computer, so I don’t know whether Version 5 beta has the same problem.

    When I edit a xaml file which contains a mass of buttons, after I select a button, the adorner of the button appears in top left corner of the page in wpf designer, rather than surround the control. It looks like this:

     https://www.dropbox.com/s/j46w6tvogdvlsf0/bug-button.png

    But when I select a textbox, it’s OK.

     https://www.dropbox.com/s/t4o7ey9rzt9hr1j/bug-textbox.png

    Then I did some experiments, might be helpful to fix the bug.

    Only when the number of controls become more than about 130, the bug reappear;

    The bug only appear on some kind of control, ContentControl like Button, Label, Groupbox etc, Panel like Canvas, Grid etc.

    When the adorner appears in a wrong position, you can still drag the control, and after that it will appear in write position, but the adorner appears in a wrong position after the next select operation. 

    Here’s my xaml file, it has nothing special except it contains a mass of buttons.

    https://www.dropbox.com/s/e87wywsjbu5qc6w/bug.xaml

    I tried to read the source file to fix the problem, but it’s too complexity for me to understand the code now, so I ask for help here.

     

    The #develop is a great project, I learned a lot from it, thanks for all the contributors.

  • 08-24-2014 5:16 PM In reply to

    • Fidel
    • Not Ranked
    • Joined on 07-31-2014
    • Posts 3

    Re: When a xaml file contains a mass of controls, the adorner of the control appears in a wrong position in wpf designer.

    who can help me?:(

  • 03-18-2016 5:34 AM In reply to

    • Fidel
    • Not Ranked
    • Joined on 07-31-2014
    • Posts 3

    Re: When a xaml file contains a mass of controls, the adorner of the control appears in a wrong position in wpf designer.

    push

  • 04-08-2016 10:54 PM In reply to

    Re: When a xaml file contains a mass of controls, the adorner of the control appears in a wrong position in wpf designer.

    Maybe try SD5? There I've fixed a lot in WPF Designer!

Page 1 of 1 (4 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.