[Mono-bugs] [Bug 324963] Controls. don't invalidate properly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Nov 13 08:48:26 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=324963#c1


Sebastien Pouliot <spouliot at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |spouliot at novell.com
             Status|NEW                                             |RESOLVED
         Resolution|                                                |WORKSFORME




--- Comment #1 from Sebastien Pouliot <spouliot at novell.com>  2007-11-13 06:48:26 MST ---
The invalidation works correctly when adding/removing the control.

E.g.
            public void OnKeyDown (Object sender, KeyboardEventArgs e)
            {
                    if (sel == null)
                    {
                            sel = new SelectionRectangle();
                            sel.SetValue(Canvas.LeftProperty, 50);
                            sel.SetValue(Canvas.TopProperty, 20);
                            this.Children.Add(sel);
                    }
                    else
                    {
                            Children.Remove(sel);
                            sel = null;
                    }
            }


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list