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


Sebastien Pouliot <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |[EMAIL 
PROTECTED]
             Status|NEW                                             |RESOLVED
         Resolution|                                                |WORKSFORME




--- Comment #1 from Sebastien Pouliot <[EMAIL PROTECTED]>  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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to